diff options
author | Bill Nottingham <notting@redhat.com> | 1999-08-02 14:59:15 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-08-02 14:59:15 +0000 |
commit | c3951b0cc5dc7c674747d97e1d60ef12d486e4a7 (patch) | |
tree | 19e812d6a26445ed88a85a32a40a3c4e2d426b87 /Makefile | |
parent | b68fe5a0050464cfb4257586fad0d86c1bcdbd6d (diff) | |
download | initscripts-c3951b0cc5dc7c674747d97e1d60ef12d486e4a7.tar initscripts-c3951b0cc5dc7c674747d97e1d60ef12d486e4a7.tar.gz initscripts-c3951b0cc5dc7c674747d97e1d60ef12d486e4a7.tar.bz2 initscripts-c3951b0cc5dc7c674747d97e1d60ef12d486e4a7.tar.xz initscripts-c3951b0cc5dc7c674747d97e1d60ef12d486e4a7.zip |
add a 'make check' target to catch typos.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -30,6 +30,11 @@ install: chown root.root /var/run/netreport chmod og=rwx,o=rx /var/run/netreport +check: + for afile in `find . -type f ` ; do \ + grep -q "^#\!/bin/sh" $$afile && { bash -n $$afile || exit 1 } ; \ + done + changelog: rcs2log | sed "s|@.*redhat\.com|redhat.com|" | \ sed "s|/mnt/devel/CVS/initscripts/||g" > changenew @@ -55,4 +60,4 @@ create-archive: tag-archive @echo " " @echo "The final archive is ./initscripts-$(VERSION).tar.gz." -archive: tag-archive create-archive +archive: check tag-archive create-archive |