1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/make -f
# xmotd package rules file
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-include /usr/share/topgit/tg2quilt.mk
/usr/share/topgit/tg2quilt.mk:
%:
dh $@ --with autoreconf
override_dh_autoreconf:
dh_autoreconf xmkmf -- -a
override_dh_auto_build:
$(MAKE) CDEBUGFLAGS="-g -Wall" CCOPTIONS="$$(dpkg-buildflags --get CFLAGS)" LOCAL_LDFLAGS="$$(dpkg-buildflags --get LDFLAGS)"
ln -sf XMotd XMotd.ad
override_dh_auto_clean:
rm -f XMotd.ad
dh_auto_clean
override_dh_auto_install:
$(MAKE) install DESTDIR=debian/xmotd BINDIR=/usr/bin
install -d debian/xmotd/usr/share/applications
install -d debian/xmotd/usr/share/pixmaps
install -m 0644 debian/xmotd.desktop debian/xmotd/usr/share/applications
install -m 0644 debian/xmotd.xpm debian/xmotd/usr/share/pixmaps
|