1AUTOMAKE_OPTIONS=foreign 2YFLAGS=-d 3SUFFIXES=.1 .pod 4 5%.1: %.pod 6 pod2man --center="OneGeek Software" --release="Delay $(VERSION)" $+ > $@ 2>/dev/null 7 8bin_PROGRAMS = delay 9delay_SOURCES = delay.c curses.c parsetimey.y parsetimel.l 10 11 12man_MANS = delay.1 13EXTRA_DIST = INSTALL.autoconf delay.1 parsetime.h parsetimey.h ChangeLog \ 14 delay.pod 15 16# debian/changelog debian/control debian/copyright \ 17# debian/dirs debian/rules 18 19# Debian is smart about packaging. Just call 'debuild' to take care of 20# it. 21# dpkg: distdir 22# cd $(distdir) && debuild -us -uc 23# -rm -rf $(distdir) 24 25# Rpm wants to know what platform you're on. Since it's not smart enough 26# to create the appropriate directory on its own, we have to hardcode 27# it here. 28#RPM_PLATFORM=i386 29 30#rpm: dist 31# mkdir -p redhat 32# mkdir -p redhat/BUILD 33# mkdir -p redhat/RPMS/$(RPM_PLATFORM) 34# mkdir -p redhat/SOURCES 35# mkdir -p redhat/SPECS 36# mkdir -p redhat/SRPMS 37# cp delay-$(VERSION).tar.gz redhat/SOURCES/ 38# cp delay.spec redhat/SPECS/ 39# rpm --define "_topdir `pwd`/redhat" -ba redhat/SPECS/delay.spec 40# cp redhat/RPMS/$(RPM_PLATFORM)/* . 41# cp redhat/SRPMS/* . 42# -rm -rf redhat 43 44#clean-local: 45# -rm delay-$(VERSION)* 46# -rm delay_$(VERSION)* 47