diff options
author | Erich Eckner <git@eckner.net> | 2016-09-10 21:30:23 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-09-10 21:30:23 +0200 |
commit | 687f61effcd6e37da42a65d64de0937c8cb12c2c (patch) | |
tree | c5c5054e04b03217ba33aeb6ee7e01731d064a79 /Makefile | |
parent | f0a6b0fbaaef10cbcdf543972a287db7de955dd9 (diff) | |
download | makekernel-687f61effcd6e37da42a65d64de0937c8cb12c2c.tar.xz |
sollte erst mal gehen ... mal sehen
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 |