diff options
Diffstat (limited to 'aptly/Makefile')
| -rw-r--r-- | aptly/Makefile | 21 | 
1 files changed, 21 insertions, 0 deletions
diff --git a/aptly/Makefile b/aptly/Makefile new file mode 100644 index 0000000..bd29cbb --- /dev/null +++ b/aptly/Makefile @@ -0,0 +1,21 @@ +all: + + +install: copy-etc copy-bin + + +copy-etc: mkdir-etc +	@if [ ! -e /etc/aptly-lirionde/aptly.conf ]; then \ +		install -vpm0644 -oroot -groot -t /etc/lirion/aptly.conf ./etc/aptly-lirionde.conf; \ +		else printf '/etc/lirion/aptly.conf existing, skipping.\n'; \ +		fi + +mkdir-etc: +	@install -dvm0755 -oroot -groot /etc/lirion + + +copy-bin: +	@install -vpm0755 -oroot -groot -t /usr/bin bin/aptly-lirionde + + +.PHONY: mkdir-etc copy-etc copy-bin  | 
