PACKAGEDIR=$(BUILDDIR)/$(PACKAGENAME)
PREFIX=usr
BINDIR=$(PREFIX)/bin
-SHAREDIR=$(PREFIX)/share
+SHAREDIR=$(PREFIX)/share/doc
################################################################################
| sed "s/@VERSION@/$(VERSION)/" \
> $(@)
+$(PACKAGEDIR)/$(SHAREDIR)/scantopdf/copyright:
+
+ mkdir --parents $(@D)
+ cp $(SRCDIR)/debian/copyright $(@)
+
$(BUILDDIR)/$(PACKAGENAME).deb: \
$(PACKAGEDIR)/$(BINDIR)/scantopdf \
$(PACKAGEDIR)/$(BINDIR)/scantopdfgray \
$(PACKAGEDIR)/$(BINDIR)/addocr \
$(PACKAGEDIR)/$(BINDIR)/addkeywords \
$(PACKAGEDIR)/$(SHAREDIR)/scantopdf/cutpage.html \
+ $(PACKAGEDIR)/$(SHAREDIR)/scantopdf/copyright \
$(PACKAGEDIR)/DEBIAN/control
mkdir --parents $(@D)
The MIT License (MIT)
-Copyright © 2024 - 2026 Bastian Dehn
+Copyright © 2024-2026 Bastian Dehn
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in