From: Bastian Dehn Date: Sat, 23 May 2026 10:46:33 +0000 (+0200) Subject: change make file with long parameters X-Git-Tag: v1.1.6^2~3 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=0213313f762dfe72f45c26f77addbc0cbff37bdc;p=scantopdf.git change make file with long parameters --- diff --git a/Makefile b/Makefile index 54f34ab..a5228db 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ build: $(PACKAGEDIR)/$(BINDIR)/scantopdf \ package: $(BUILDDIR)/$(PACKAGENAME).deb clean: - rm -rf $(BUILDDIR) + rm --recursive --force $(BUILDDIR) ################################################################################ @@ -40,7 +40,7 @@ $(BUILDDIR)/parts/scanbasic.sh: \ $(SRCDIR)/addocr.sh \ $(SRCDIR)/scanbasic.sh - mkdir -p $(@D) + mkdir --parents $(@D) ./tools/includer $(SRCDIR)/scanbasic.sh \ > $(@) @@ -49,7 +49,7 @@ $(BUILDDIR)/parts/scanbasic.sh: \ $(PACKAGEDIR)/$(BINDIR)/scantopdf: \ $(BUILDDIR)/parts/scanbasic.sh - mkdir -p $(@D) + mkdir --parents $(@D) ./tools/includer $(SRCDIR)/scantopdf \ | sed "s/@VERSION@/$(VERSION)/" \ > $(@) @@ -58,7 +58,7 @@ $(PACKAGEDIR)/$(BINDIR)/scantopdf: \ $(PACKAGEDIR)/$(BINDIR)/scantopdfgray: \ $(BUILDDIR)/parts/scanbasic.sh - mkdir -p $(@D) + mkdir --parents $(@D) ./tools/includer $(SRCDIR)/scantopdfgray \ | sed "s/@VERSION@/$(VERSION)/" \ > $(@) @@ -67,7 +67,7 @@ $(PACKAGEDIR)/$(BINDIR)/scantopdfgray: \ $(PACKAGEDIR)/$(BINDIR)/scantopdfbw: \ $(BUILDDIR)/parts/scanbasic.sh - mkdir -p $(@D) + mkdir --parents $(@D) ./tools/includer $(SRCDIR)/scantopdfgray \ | sed "s/@VERSION@/$(VERSION)/" \ > $(@) @@ -75,7 +75,7 @@ $(PACKAGEDIR)/$(BINDIR)/scantopdfbw: \ $(PACKAGEDIR)/$(BINDIR)/addocr: - mkdir -p $(@D) + mkdir --parents $(@D) ./tools/includer $(SRCDIR)/addocr \ | sed "s/@VERSION@/$(VERSION)/" \ > $(@) @@ -83,7 +83,7 @@ $(PACKAGEDIR)/$(BINDIR)/addocr: $(PACKAGEDIR)/$(BINDIR)/addkeywords: - mkdir -p $(@D) + mkdir --parents $(@D) ./tools/includer $(SRCDIR)/addkeywords \ | sed "s/@VERSION@/$(VERSION)/" \ > $(@) @@ -93,14 +93,14 @@ $(PACKAGEDIR)/$(BINDIR)/addkeywords: $(PACKAGEDIR)/$(SHAREDIR)/scantopdf/cutpage.html: - mkdir -p $(@D) + mkdir --parents $(@D) cp $(SRCDIR)/cutpage.html $(@) ################################################################################ $(PACKAGEDIR)/DEBIAN/control: - mkdir -p $(@D) + mkdir --parents $(@D) cat $(SRCDIR)/control \ | sed "s/@VERSION@/$(VERSION)/" \ > $(@) @@ -114,6 +114,6 @@ $(BUILDDIR)/$(PACKAGENAME).deb: \ $(PACKAGEDIR)/$(SHAREDIR)/scantopdf/cutpage.html \ $(PACKAGEDIR)/DEBIAN/control - mkdir -p $(@D) + mkdir --parents $(@D) umask 0022 cd build && dpkg-deb --build --root-owner-group $(PACKAGENAME) \ No newline at end of file