diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -23,13 +23,14 @@ DESTDIR = ETCDIR = /etc BINDIR = /usr/bin MANDIR = /usr/share/man +SRCDIR = /usr/src VERSION = 0.0 -all: makekernel makekernel.8 +all: makekernel makekernel.conf makekernel.8 %: %.in - sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@; s@#ETCDIR#@$(ETCDIR)@" $< > $@ + sed "s@#VERSION#@$(VERSION)@g; s@#BINDIR#@$(BINDIR)@g; s@#ETCDIR#@$(ETCDIR)@g; s@#SRCDIR#@$(SRCDIR)@g" $< > $@ .PHONY: install dist clean @@ -39,7 +40,7 @@ install: all install -D -m0644 makekernel.conf $(DESTDIR)$(ETCDIR)/makekernel.conf clean: - rm -f makekernel makekernel.8 + rm -f makekernel makekernel.conf makekernel.8 dist: clean git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true |