summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-08-20 17:49:09 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-08-20 17:49:09 -0400
commit801adc5df5b99ff9e9f3c06b1a155b36c4000359 (patch)
treeac6bbb49aaf0704884e091e2e7173e29c6cbd03b /Makefile
parentdbd9fa35e5dd40d33d8be9c899f3d56918aba34f (diff)
add a README and license informationv20170820
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0aa88a4..336ec15 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ VERSION = 20170820
include $(dir $(lastword $(MAKEFILE_LIST)))/config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
+files.src.gen += LICENSE
files.out.all += systemd.conf
#files.out.all += systemd.types.db
#files.out.all += systemd.py
@@ -25,6 +26,9 @@ $(DESTDIR)$(collectdtypesdir)/systemd.types.db: $(srcdir)/systemd.types.db
$(DESTDIR)$(collectdpythondir)/systemd.py: $(srcdir)/systemd.py
$(INSTALL_PROGRAM) -DT $< $@
+$(srcdir)/LICENSE:
+ wget -O $@ https://www.gnu.org/licenses/gpl-2.0.txt
+
.SECONDARY:
.DELETE_ON_ERROR: