Mercurial > noffle
diff debian/rules @ 369:31295db432f5 noffle
[svn] added upstream compatbile patching
author | godisch |
---|---|
date | Tue, 01 Apr 2003 14:47:49 +0100 |
parents | fa7a42b18bc8 |
children | 38f082d6856a |
line wrap: on
line diff
--- a/debian/rules Tue Apr 01 11:33:42 2003 +0100 +++ b/debian/rules Tue Apr 01 14:47:49 2003 +0100 @@ -1,7 +1,5 @@ #!/usr/bin/make -f -# $Id: rules 474 2003-03-04 20:47:54Z godisch $ - -#export MAINT_BUILD=1 +# $Id: rules 509 2003-04-01 13:47:49Z godisch $ BUILDDIR = debian/noffle DEBDIR = $(BUILDDIR)/DEBIAN @@ -41,37 +39,22 @@ clean: $(testdir) - -rm -f configure-stamp build-stamp debian/files debian/substvars -#ifneq ($(MAINT_BUILD),1) -# # ---------- prevent automake etc. from being called -# # if you have changed anything, set MAINT_BUILD to 1 -# touch configure.in && \ -# touch Makefile.am docs/Makefile.am src/Makefile.am packages/Makefile.am packages/redhat/Makefile.am && \ -# touch aclocal.m4 && \ -# touch Makefile.in docs/Makefile.in src/Makefile.in packages/Makefile.in packages/redhat/Makefile.in && \ -# touch configure && \ -# touch stamp-h.in config.h.in -# # ---------- endif -#else -# aclocal -# autoconf -# autoheader -# automake -# -rm -f config.log -#endif + rm -f configure-stamp build-stamp debian/files debian/substvars -$(MAKE) -i distclean - -rm -rf debian/noffle + rm -rf debian/noffle + -cat debian/patches/*.diff | patch -RNtp1 -r debian/rejected --no-backup-if-mismatch + rm -f debian/rejected -configure: configure-stamp -configure-stamp: +configure-stamp: configure $(testdir) + -cat debian/patches/*.diff | patch -Ntp1 -r debian/rejected --no-backup-if-mismatch ./configure $(CONFFLAGS) --prefix=/usr --mandir=/usr/share/man \ --with-configfile=/etc/news/noffle.conf \ --with-usersfile=/etc/news/noffle.users --enable-auth=no touch configure-stamp build: build-stamp -build-stamp: configure +build-stamp: configure-stamp $(testdir) $(MAKE) touch build-stamp @@ -83,7 +66,7 @@ binary-arch: build $(testdir) $(testroot) - -rm -rf debian/noffle + rm -rf debian/noffle # installing binaries install -o news -g news -m 6755 -D $(STRIP_FLAG) src/noffle $(BUILDDIR)/usr/bin/noffle @@ -151,4 +134,4 @@ dpkg --build $(BUILDDIR) .. # binary target finished -.PHONY: clean configure build binary binary-indep binary-arch +.PHONY: clean build binary binary-indep binary-arch