Changes in debian/rules [46d4230:483f8dd]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/rules
r46d4230 r483f8dd 13 13 build-arch: build-arch-stamp 14 14 build-arch-stamp: 15 [ -d debian ]15 if [ ! -d debian ]; then exit 1; fi 16 16 ./configure --debug=$(DEBUG) --prefix=/usr --etcdir=/etc/bitlbee --events=libevent 17 17 $(MAKE) … … 20 20 21 21 clean: 22 [ "`whoami`" = "root" -a -d debian ]23 rm -rf build-arch-stamp debian/bitlbee debian/*.substvars debian/files debian/bitlbee-dev22 if [ "`whoami`" != "root" -o ! -d debian ]; then exit 1; fi 23 rm -rf build-arch-stamp debian/bitlbee debian/*.substvars debian/files 24 24 -$(MAKE) distclean 25 25 # -$(MAKE) -C doc/ clean … … 27 27 28 28 install-arch: build-arch 29 [ "`whoami`" = "root" -a -d debian ]29 if [ "`whoami`" != "root" -o ! -d debian ]; then exit 1; fi 30 30 mkdir -p debian/bitlbee/DEBIAN/ 31 31 $(MAKE) install install-etc DESTDIR=`pwd`/debian/bitlbee … … 35 35 cp doc/user-guide/user-guide.html debian/bitlbee/usr/share/doc/bitlbee/ 36 36 37 install-indep: install-arch38 [ "`whoami`" = "root" -a -d debian ]39 mkdir -p debian/bitlbee-dev/DEBIAN/40 $(MAKE) install-dev DESTDIR=`pwd`/debian/bitlbee-dev41 42 mkdir -p debian/bitlbee-dev/usr/share/doc/bitlbee-dev/43 44 37 binary-arch: build-arch install-arch 45 [ "`whoami`" = "root" -a -d debian ]38 if [ "`whoami`" != "root" -o ! -d debian ]; then exit 1; fi 46 39 47 40 chmod 755 debian/post* debian/pre* debian/config debian/bitlbee.init … … 59 52 doc/bitlbee/examples/* man/man8/bitlbee.8 man/man5/bitlbee.conf.5 60 53 61 chown -R root :root debian/bitlbee/54 chown -R root.root debian/bitlbee/ 62 55 find debian/bitlbee/usr/share/ -type d -exec chmod 755 {} \; 63 56 find debian/bitlbee/usr/share/ -type f -exec chmod 644 {} \; … … 84 77 dpkg --build debian/bitlbee .. 85 78 86 binary-indep: install-indep 87 [ "`whoami`" = "root" -a -d debian ]79 debug-build: 80 BITLBEE_VERSION=\"`date +%Y%m%d`-`hostname`-debug\" debian/rules clean binary DEBUG=1 88 81 89 chown -R root.root debian/bitlbee-dev/ 90 find debian/bitlbee-dev/usr/share/ -type d -exec chmod 755 {} \; 91 find debian/bitlbee-dev/usr/share/ -type f -exec chmod 644 {} \; 82 binary: binary-arch 83 build: build-arch 84 install: install-arch 92 85 93 cp debian/changelog debian/bitlbee-dev/usr/share/doc/bitlbee-dev/changelog.Debian 94 gzip -9 debian/bitlbee-dev/usr/share/doc/bitlbee-dev/changelog.Debian 95 cp debian/copyright debian/bitlbee-dev/usr/share/doc/bitlbee-dev/copyright 96 97 cd debian/bitlbee-dev; \ 98 find usr -type f -exec md5sum {} \; > DEBIAN/md5sums 99 100 dpkg-gencontrol -ldebian/changelog -isp -pbitlbee-dev -Pdebian/bitlbee-dev 101 102 dpkg --build debian/bitlbee-dev .. 103 104 binary: binary-arch binary-indep 105 build: build-arch 106 install: install-arch install-indep 107 108 .PHONY: build-arch build clean binary-arch binary install-arch install binary-indep install-indep 86 .PHONY: build-arch build clean binary-arch binary install-arch install
Note: See TracChangeset
for help on using the changeset viewer.