summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index c232922..639ae25 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,11 @@
PL=rebootin
SH_FILES=detectloader installkernel installkernel.sysconfig kernel_remove_initrd
-SH=$(SH_FILES) kheader
+SH=$(SH_FILES)
MAN=rebootin.8 detectloader.8
-FROMPERLFILES=kheader
ARCH=$(shell uname -m)
UTILS = bootloader-utils.spec Makefile
-FILES = $(PL) $(SH_FILES) $(MAN) $(UTILS) $(FROMPERLFILES:%=%.pl)
+FILES = $(PL) $(SH_FILES) $(MAN) $(UTILS)
PACKAGE=bootloader-utils
VERSION=1.16
@@ -16,7 +15,7 @@ SVN_URL := $(shell svn info | sed -n '/^URL[^:]*: *\(.*\)/s//\1/p')
SVNROOT := $(shell dirname $(SVN_URL))
SVNCOPY = $(SVN_URL)
-all: $(FROMPERLFILES) check
+all: check
check:
@for i in $(SH);do /bin/bash -n $$i || exit 1;echo $$i syntax OK;done
@@ -32,15 +31,9 @@ install: check
install -m755 kernel_remove_initrd $(ROOT)/sbin/
install -m644 installkernel.sysconfig $(ROOT)/etc/sysconfig/installkernel
install -m755 rebootin detectloader $(ROOT)/usr/sbin/
- install -m755 kheader $(ROOT)/etc/rc.d/init.d/kheader
-
-$(FROMPERLFILES) : %: %.pl
- rm -f $@
- perl $< > $@
- chmod a-w $@
clean:
- rm -f *~ $(FROMPERLFILES) $(PACKAGE)-*.tar.bz2
+ rm -f *~ $(PACKAGE)-*.tar.bz2
# rules to build a test dist