summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: