| Revision 2917,
1.2 KB
checked in by alanbach-guest, 5 years ago
(diff) |
- Sync'd with Debian 0.24.debian-1
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #!/usr/bin/make -f |
|---|
| 2 | |
|---|
| 3 | include /usr/share/cdbs/1/rules/debhelper.mk |
|---|
| 4 | include /usr/share/cdbs/1/class/gnome.mk |
|---|
| 5 | include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk |
|---|
| 6 | include /usr/share/cdbs/1/rules/simple-patchsys.mk |
|---|
| 7 | include /usr/share/gnome-pkg-tools/1/rules/ubuntu-get-source.mk |
|---|
| 8 | |
|---|
| 9 | DISTRO := $(shell lsb_release -si) |
|---|
| 10 | DIRLIST := 22x22 24x24 48x48 |
|---|
| 11 | |
|---|
| 12 | # Anyway, defaults to Debian |
|---|
| 13 | ifeq ($(DISTRO),) |
|---|
| 14 | DISTRO := Debian |
|---|
| 15 | endif |
|---|
| 16 | |
|---|
| 17 | clean:: |
|---|
| 18 | @echo "=== Building for distribution: $(DISTRO) ===" |
|---|
| 19 | find debian/$(DISTRO) -name '*.png' | xargs rm -fv |
|---|
| 20 | $(SHELL) debian/clean-up.sh |
|---|
| 21 | |
|---|
| 22 | makebuilddir/human-icon-theme:: |
|---|
| 23 | ./autogen.sh --prefix=/usr |
|---|
| 24 | |
|---|
| 25 | build: |
|---|
| 26 | @echo "=== Installing distribution specific overrides ===" |
|---|
| 27 | if [ -d debian/$(DISTRO) ]; then \ |
|---|
| 28 | for dir in $(DIRLIST) ; do \ |
|---|
| 29 | (cd debian/$(DISTRO)/$$dir/places/ && uudecode -o start-here.png start-here.uuencode) \ |
|---|
| 30 | done; \ |
|---|
| 31 | fi |
|---|
| 32 | |
|---|
| 33 | ICON_DIR := debian/human-icon-theme/usr/share/icons/Human |
|---|
| 34 | |
|---|
| 35 | binary-post-install/human-icon-theme:: |
|---|
| 36 | # replace the Ubuntu logos with the distribution overrides |
|---|
| 37 | if [ -d debian/$(DISTRO) ]; then \ |
|---|
| 38 | cp -rvf debian/$(DISTRO)/* $(ICON_DIR)/; \ |
|---|
| 39 | fi |
|---|
| 40 | # don't ship the sng files |
|---|
| 41 | find $(ICON_DIR) -name '*.uuencode' | xargs rm -fv |
|---|
| 42 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.