Rename license and include it in packages.
This commit is contained in:
parent
094705d76c
commit
6688a5a81f
|
|
@ -1,5 +1,6 @@
|
||||||
|
MIT LICENSE.
|
||||||
Copyright (c) 2016 Garrett Bjerkhoel
|
Copyright (c) 2016 Garrett Bjerkhoel
|
||||||
Copyright (c) 2018 David Newhall II
|
Copyright (c) 2018-2019 David Newhall II
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
a copy of this software and associated documentation files (the
|
a copy of this software and associated documentation files (the
|
||||||
6
Makefile
6
Makefile
|
|
@ -131,7 +131,7 @@ package_build_osx: readme man macos
|
||||||
cp $(BINARY).macos $@/usr/local/bin/$(BINARY)
|
cp $(BINARY).macos $@/usr/local/bin/$(BINARY)
|
||||||
cp *.1.gz $@/usr/local/share/man/man1
|
cp *.1.gz $@/usr/local/share/man/man1
|
||||||
cp examples/*.conf.example $@/usr/local/etc/$(BINARY)/
|
cp examples/*.conf.example $@/usr/local/etc/$(BINARY)/
|
||||||
cp *.html examples/{*dash.json,up.conf.example} $@/usr/local/share/doc/$(BINARY)/
|
cp LICENSE *.html examples/{*dash.json,up.conf.example} $@/usr/local/share/doc/$(BINARY)/
|
||||||
# These go to their own folder so the img src in the html pages continue to work.
|
# These go to their own folder so the img src in the html pages continue to work.
|
||||||
cp examples/*.png $@/usr/local/share/doc/$(BINARY)/examples
|
cp examples/*.png $@/usr/local/share/doc/$(BINARY)/examples
|
||||||
cp init/launchd/$(OSX_PKG_PREFIX).$(BINARY).plist $@/Library/LaunchAgents/
|
cp init/launchd/$(OSX_PKG_PREFIX).$(BINARY).plist $@/Library/LaunchAgents/
|
||||||
|
|
@ -146,7 +146,7 @@ package_build_linux: readme man linux
|
||||||
cp *.1.gz $@/usr/share/man/man1
|
cp *.1.gz $@/usr/share/man/man1
|
||||||
cp examples/*.conf.example $@/etc/$(BINARY)/
|
cp examples/*.conf.example $@/etc/$(BINARY)/
|
||||||
cp examples/up.conf.example $@/etc/$(BINARY)/up.conf
|
cp examples/up.conf.example $@/etc/$(BINARY)/up.conf
|
||||||
cp *.html examples/{*dash.json,up.conf.example} $@/usr/share/doc/$(BINARY)/
|
cp LICENSE *.html examples/{*dash.json,up.conf.example} $@/usr/share/doc/$(BINARY)/
|
||||||
# These go to their own folder so the img src in the html pages continue to work.
|
# These go to their own folder so the img src in the html pages continue to work.
|
||||||
cp examples/*.png $@/usr/share/doc/$(BINARY)/examples
|
cp examples/*.png $@/usr/share/doc/$(BINARY)/examples
|
||||||
cp init/systemd/$(BINARY).service $@/lib/systemd/system/
|
cp init/systemd/$(BINARY).service $@/lib/systemd/system/
|
||||||
|
|
@ -189,7 +189,7 @@ install: man readme $(BINARY)
|
||||||
/usr/bin/install -m 0644 -cp $(BINARY).1.gz $(PREFIX)/share/man/man1
|
/usr/bin/install -m 0644 -cp $(BINARY).1.gz $(PREFIX)/share/man/man1
|
||||||
/usr/bin/install -m 0644 -cp examples/up.conf.example $(ETC)/$(BINARY)/
|
/usr/bin/install -m 0644 -cp examples/up.conf.example $(ETC)/$(BINARY)/
|
||||||
[ -f $(ETC)/$(BINARY)/up.conf ] || /usr/bin/install -m 0644 -cp examples/up.conf.example $(ETC)/$(BINARY)/up.conf
|
[ -f $(ETC)/$(BINARY)/up.conf ] || /usr/bin/install -m 0644 -cp examples/up.conf.example $(ETC)/$(BINARY)/up.conf
|
||||||
/usr/bin/install -m 0644 -cp *.html examples/{*dash.json,up.conf.example} $(PREFIX)/share/doc/$(BINARY)/
|
/usr/bin/install -m 0644 -cp LICENSE *.html examples/{*dash.json,up.conf.example} $(PREFIX)/share/doc/$(BINARY)/
|
||||||
# These go to their own folder so the img src in the html pages continue to work.
|
# These go to their own folder so the img src in the html pages continue to work.
|
||||||
/usr/bin/install -m 0644 -cp examples/*.png $(PREFIX)/share/doc/$(BINARY)/examples
|
/usr/bin/install -m 0644 -cp examples/*.png $(PREFIX)/share/doc/$(BINARY)/examples
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue