From 681dd7b59991f54ee2b0dd979386c9ea24f4d3ec Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Mon, 25 May 2026 15:00:04 +0200 Subject: [PATCH] change make file sections --- Makefile | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index a5f0538..02a626a 100644 --- 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 \ -- 2.47.3