aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-03-10 09:43:42 +0100
committerPatrick Spek <p.spek@tyil.nl>2023-03-10 09:43:42 +0100
commit6e2c43bbde416946eeebd174ee6b5b4b15ef19aa (patch)
tree3d309c839a5de52eb160e121116c81b10b1ca3ce
parente14c1e6d5ec7851557e078dfc25b22389d9980bc (diff)
Add license header to Debian control file
-rw-r--r--Makefile2
-rw-r--r--etc/debian/control3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d84fcc4..86570f8 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ pkg-debian:
# Copy Debian's control file
mkdir -pv -- "$(PKG_ROOT)/DEBIAN"
- cp -v -- ./etc/debian/control "$(PKG_ROOT)/DEBIAN/control"
+ grep -v '^\#' ./etc/debian/control > "$(PKG_ROOT)/DEBIAN/control"
printf "Version: %s\n" "$(PKG_VERSION)" >> "$(PKG_ROOT)/DEBIAN/control"
# Generate the .deb file
diff --git a/etc/debian/control b/etc/debian/control
index a29ec92..8115703 100644
--- a/etc/debian/control
+++ b/etc/debian/control
@@ -1,3 +1,6 @@
+#SPDX-FileCopyrightText: 2023 Patrick Spek <p.spek@tyil.nl>
+#
+#SPDX-License-Identifier: AGPL-3.0-or-later
Package: bashtard
Architecture: all
Maintainer: p.spek@tyil.nl