]> gitweb.hhaalo.de Git - scantopdf.git/commitdiff
change make file sections
authorBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 13:00:04 +0000 (15:00 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 13:00:04 +0000 (15:00 +0200)
Makefile

index a5f053826f94f9510fe3399b65eecc80bd05ae73..02a626a9adb3fecdef3069fdddf516d225d5419b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -94,22 +94,6 @@ $(PACKAGEDIR)/$(SHAREDIR)/cutpage.html:
 
 ################################################################################
 
-$(PACKAGEDIR)/DEBIAN/control:
-
-       mkdir --parents $(@D)
-       cat $(SRCDIR)/debian/control    \
-               | sed "s/@VERSION@/$(VERSION)/" > $(@)
-
-$(PACKAGEDIR)/$(SHAREDIR)/copyright:
-
-       mkdir --parents $(@D)
-       cp $(SRCDIR)/debian/copyright $(@)
-
-$(PACKAGEDIR)/$(SHAREDIR)/changelog.gz:
-
-       mkdir --parents $(@D)
-       gzip --stdout --no-name --best $(SRCDIR)/debian/changelog > $(@)
-
 $(PACKAGEDIR)/$(MANDIR)/man1/scantopdf.1.gz:
 
        mkdir --parents $(@D)
@@ -135,6 +119,24 @@ $(PACKAGEDIR)/$(MANDIR)/man1/addocr.1.gz:
        mkdir --parents $(@D)
        gzip --stdout --no-name --best $(SRCDIR)/man/addocr.1 > $(@)
 
+################################################################################
+
+$(PACKAGEDIR)/DEBIAN/control:
+
+       mkdir --parents $(@D)
+       cat $(SRCDIR)/debian/control    \
+               | sed "s/@VERSION@/$(VERSION)/" > $(@)
+
+$(PACKAGEDIR)/$(SHAREDIR)/copyright:
+
+       mkdir --parents $(@D)
+       cp $(SRCDIR)/debian/copyright $(@)
+
+$(PACKAGEDIR)/$(SHAREDIR)/changelog.gz:
+
+       mkdir --parents $(@D)
+       gzip --stdout --no-name --best $(SRCDIR)/debian/changelog > $(@)
+
 $(BUILDDIR)/$(PACKAGENAME).deb: \
        $(PACKAGEDIR)/$(BINDIR)/scantopdf \
        $(PACKAGEDIR)/$(BINDIR)/scantopdfgray \