diff options
author | Bill Nottingham <notting@redhat.com> | 2009-08-10 17:15:22 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-08-10 17:15:22 -0400 |
commit | 06cfcb7b84179ffe1ed1945ec74bd92294c7a915 (patch) | |
tree | 5b39688af28109cfe4fb65e4800b0bf3a80de1fc /Makefile | |
parent | f8667b1ebae0bd383358b2144033616e74a0b21d (diff) | |
download | initscripts-06cfcb7b84179ffe1ed1945ec74bd92294c7a915.tar initscripts-06cfcb7b84179ffe1ed1945ec74bd92294c7a915.tar.gz initscripts-06cfcb7b84179ffe1ed1945ec74bd92294c7a915.tar.bz2 initscripts-06cfcb7b84179ffe1ed1945ec74bd92294c7a915.tar.xz initscripts-06cfcb7b84179ffe1ed1945ec74bd92294c7a915.zip |
Fix things so we don't build binaries on 'make archive'.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -122,13 +122,16 @@ install: -check: +syntax-check: for afile in `find . -type f -perm +111|grep -v \.csh | grep -v .git | grep -v po/ ` ; do \ if ! file $$afile | grep -s ELF >/dev/null; then \ bash -n $$afile || { echo $$afile ; exit 1 ; } ; \ fi ;\ done + +check: syntax-check make check -C src + make clean -C src changelog: @rm -f ChangeLog @@ -143,7 +146,7 @@ tag: @git tag -a -m "Tag as $(TAG)" $(TAG) @echo "Tagged as $(TAG)" -archive: clean check tag changelog +archive: clean sytnax-check tag changelog @git archive --format=tar --prefix=initscripts-$(VERSION)/ HEAD > initscripts-$(VERSION).tar @mkdir -p initscripts-$(VERSION)/ @cp ChangeLog initscripts-$(VERSION)/ |