]> gitweb.hhaalo.de Git - scantopdf.git/commitdiff
change make file with long parameters
authorBastian Dehn <hhaalo@arcor.de>
Sat, 23 May 2026 10:46:33 +0000 (12:46 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 23 May 2026 10:46:33 +0000 (12:46 +0200)
Makefile

index 54f34ab528bad2d7eeb354049f8aec07715844e1..a5228db0c6dffbcc62f6c21d9f06fcd783d68af7 100644 (file)
--- 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