]> gitweb.hhaalo.de Git - scantopdf.git/commitdiff
add copyright
authorBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 10:10:14 +0000 (12:10 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 10:10:14 +0000 (12:10 +0200)
Makefile
license
src/debian/copyright [new file with mode: 0644]

index 72e71cc2c5b6ec7e775063004e986442cad98f27..341558424fc9ebd96458c0347dae107feaa6c4d3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ SRCDIR=src
 PACKAGEDIR=$(BUILDDIR)/$(PACKAGENAME)
 PREFIX=usr
 BINDIR=$(PREFIX)/bin
-SHAREDIR=$(PREFIX)/share
+SHAREDIR=$(PREFIX)/share/doc
 
 ################################################################################
 
@@ -105,6 +105,11 @@ $(PACKAGEDIR)/DEBIAN/control:
                | sed "s/@VERSION@/$(VERSION)/" \
                > $(@)
 
+$(PACKAGEDIR)/$(SHAREDIR)/scantopdf/copyright:
+
+       mkdir --parents $(@D)
+       cp $(SRCDIR)/debian/copyright $(@)
+
 $(BUILDDIR)/$(PACKAGENAME).deb: \
        $(PACKAGEDIR)/$(BINDIR)/scantopdf \
        $(PACKAGEDIR)/$(BINDIR)/scantopdfgray \
@@ -112,6 +117,7 @@ $(BUILDDIR)/$(PACKAGENAME).deb: \
        $(PACKAGEDIR)/$(BINDIR)/addocr \
        $(PACKAGEDIR)/$(BINDIR)/addkeywords \
        $(PACKAGEDIR)/$(SHAREDIR)/scantopdf/cutpage.html \
+       $(PACKAGEDIR)/$(SHAREDIR)/scantopdf/copyright \
        $(PACKAGEDIR)/DEBIAN/control
 
        mkdir --parents $(@D)
diff --git a/license b/license
index 9fb51ac684942285f22715c4958068225a661230..440bf421988a6358e028d362ef9496fd4bd7b75a 100644 (file)
--- a/license
+++ b/license
@@ -1,6 +1,6 @@
 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
diff --git a/src/debian/copyright b/src/debian/copyright
new file mode 100644 (file)
index 0000000..3eaad05
--- /dev/null
@@ -0,0 +1,4 @@
+Files:
+ *
+Copyright: 2024-2026 Bastian Dehn
+License: MIT
\ No newline at end of file