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

index b162b9e1e324f4f7d548a19967845954ff7153df..82887f319eae4af8693b2b245c92b040ae0ddcc0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ SRCDIR=src
 BUILDDIR=build
 PREFIX=usr
 BINDIR=$(BUILDDIR)/$(PACKAGENAME)/$(PREFIX)/bin
-SHAREDIR=$(BUILDDIR)/$(PACKAGENAME)/$(PREFIX)/share/$(PACKAGE)
+SHAREDIR=$(BUILDDIR)/$(PACKAGENAME)/$(PREFIX)/share/doc/$(PACKAGE)
 
 .PHONY: all build package clean
 
@@ -41,11 +41,16 @@ $(SHAREDIR)/config-example.yaml:
        mkdir --parents $(@D)
        cp $(SRCDIR)/config-example.yaml $(@)
 
+$(SHAREDIR)/copyright:
+       mkdir --parents $(@D)
+       cp $(SRCDIR)/debian/copyright $(@)
+
 $(BUILDDIR)/$(PACKAGENAME).deb: \
        $(BINDIR)/backup \
        $(BINDIR)/backupmount \
        $(BINDIR)/restore \
        $(SHAREDIR)/config-example.yaml \
+       $(SHAREDIR)/copyright \
        $(BUILDDIR)/$(PACKAGENAME)/DEBIAN/control
 
        mkdir --parents $(@D)
diff --git a/license b/license
index 73c236e6df14f279154db3a4b6bca503c7b91e59..63dde9503d4bcb6b9e6cd34744ddd5717f067e4b 100644 (file)
--- a/license
+++ b/license
@@ -1,5 +1,5 @@
 MIT License
-Copyright (c) 2017-2025 Bastian Dehn <hhaalo@arcor.de>
+Copyright (c) 2017-2026 Bastian Dehn <hhaalo@arcor.de>
 
 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..6f43149
--- /dev/null
@@ -0,0 +1,4 @@
+Files:
+ *
+Copyright: 2017-2026 Bastian Dehn
+License: MIT
\ No newline at end of file