diff options
author | Erich Eckner <git@eckner.net> | 2016-05-10 14:10:55 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-05-10 14:10:55 +0200 |
commit | 98672cefe5f4033655de8d626969c5a9eb0b6ef8 (patch) | |
tree | 14f3c9605874985ec489eb6074c712e85dcb015e | |
parent | c6cf1bdf03034b6d78a2bf310226419f7a4566e9 (diff) | |
download | Make-1.1.tar.xz |
neue Version: 1.1v1.1
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 12 | ||||
-rwxr-xr-x | ewemake.in | 9 |
3 files changed, 16 insertions, 7 deletions
@@ -10,6 +10,6 @@ Machdatei Make Make.8 lib -epost +ewemake *~ Log* @@ -23,21 +23,21 @@ DESTDIR = BINDIR = /usr/bin MANDIR = /usr/share/man -VERSION = 1.0.2 +VERSION = 1.1 -all: Make Make.8 +all: Make Make.8 ewemake Make: Make.lp* *.pas fpc Make.lpr -Make.8: Make.8.in +%: %.in sed "s/#VERSION#/$(VERSION)/" $< > $@ .PHONY: install dist clean install: all - install -D -m0755 Make $(DESTDIR)$(BINDIR)/Make - install -D -m0644 Make.8 $(DESTDIR)$(MANDIR)/man8/Make.8 + install -D -m0755 -t $(DESTDIR)$(BINDIR) Make ewemake + install -D -m0644 -t $(DESTDIR)$(MANDIR)/man8 Make.8 dist: clean git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true @@ -47,6 +47,6 @@ dist: clean git push --tags clean: - rm -f Make Make.8 *.ppu *.o + rm -f Make Make.8 ewemake *.ppu *.o # End of file diff --git a/ewemake.in b/ewemake.in new file mode 100755 index 0000000..9fb7b23 --- /dev/null +++ b/ewemake.in @@ -0,0 +1,9 @@ +#!/bin/bash + +# ewemake verision #VERSION# - a wrapper for Make + +tmpFile="$(mktemp)" +Make -A "${tmpFile}" +chmod +x "${tmpFile}" +"${tmpFile}" +rm -f "${tmpFile}" |