getting rid of Makefile.am in debian/ - it seems to be non-standard and

is a pita to maintain anyway. instead, make distdir and distclean depend
on a partial debian-clean.
This commit is contained in:
Oswald Buddenhagen 2004-01-11 12:35:48 +00:00
parent 510c9ca492
commit c96163a74b
2 changed files with 14 additions and 9 deletions

View File

@ -1,16 +1,26 @@
SUBDIRS = debian src SUBDIRS = src
man_MANS = isync.1 man_MANS = isync.1
EXTRA_DIST = isyncrc.sample isync.spec $(man_MANS) EXTRA_DIST = debian isyncrc.sample isync.spec $(man_MANS)
DISTCLEANFILES = *~ build-stamp configure-stamp
log: log:
@echo "me:'Michael Elkins <me@sigpipe.org>'" > .usermap @echo "me:'Michael Elkins <me@sigpipe.org>'" > .usermap
@echo "melkins:'Michael Elkins <me@sigpipe.org>'" >> .usermap @echo "melkins:'Michael Elkins <me@sigpipe.org>'" >> .usermap
@echo "nboullis:'Nicolas Boullis <nboullis@users.sf.net>'" >> .usermap
@echo "ossi:'Oswald Buddenhagen <ossi@users.sf.net>'" >> .usermap @echo "ossi:'Oswald Buddenhagen <ossi@users.sf.net>'" >> .usermap
@echo "tytso:'Theodore Ts'o <tytso@users.sf.net>'" >> .usermap
cvs2cl -U .usermap --no-wrap --separate-header cvs2cl -U .usermap --no-wrap --separate-header
@rm -f .usermap ChangeLog.bak @rm -f .usermap ChangeLog.bak
deb:
CFLAGS="-O2 -mcpu=i686" fakeroot debian/rules binary
deb-clean:
dh_clean -Xsrc/
fakeroot debian/rules unpatch
distdir distclean: deb-clean
rpm: rpm:
make dist make dist
cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/rpm/SOURCES cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/rpm/SOURCES
rpm -ba --target=i586 --clean isync.spec rpm -ba --clean isync.spec

5
debian/Makefile.am vendored
View File

@ -1,5 +0,0 @@
EXTRA_DIST = changelog compat control copyright dirs docs rules
DISTCLEANFILES = files isync.substvars
distclean-local:
rm -rf isync