diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -16,7 +16,7 @@ kernel: all: daemon kernel -clean: +clean: configure for i in $(SUBDIRS) kernel; do \ if [ -d $$i ]; then $(MAKE) -C $$i clean; fi; done @@ -28,10 +28,23 @@ install_kernel: mrproper distclean: clean find . -noleaf \( -name '*~' -o -name '#*' -o -name '*.orig' -o -name '*.rej' -o -name '*.old' \) -print0 | xargs -0 rm -f + -rm -f include/config.h Makefile.conf config.* TODAY := $(shell date +'%Y%m%d') backup: mrproper cd .. ; tar cf - autofs | gzip -9 > autofs-bu-$(TODAY).tar.gz +configure: configure.in aclocal.m4 + autoconf + rm -f config.* + +configure.in: .version + -rm -f .autofs-* + touch .autofs-`cat .version` + sed -e "s/(\.autofs-[0-9.]\+)/(.autofs-`cat .version`)/" < configure.in > configure.in.tmp + mv -f configure.in.tmp configure.in + -include Makefile.private + + |