diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0af4fde --- /dev/null +++ b/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/aptly-lirionde ./etc/aptly-lirionde.conf; \ + else printf '/etc/aptly-lirionde/aptly.conf existing, skipping.\n'; \ + fi + +mkdir-etc: + @install -dvm0755 -oroot -groot /etc/aptly-lirionde + + +copy-bin: + @install -vpm0755 -oroot -groot -t /usr/bin bin/aptly-lirionde + + +.PHONY: mkdir-etc copy-etc copy-bin |