diff options
author | mail_redacted_for_web | 2024-09-15 15:29:35 +0200 |
---|---|---|
committer | mail_redacted_for_web | 2024-09-15 15:29:35 +0200 |
commit | 0d5486752d654086ca3bed648c008c60216726ba (patch) | |
tree | a8bd8f9360ea4e9835df0eb2f7ad0bebcc6d7283 /Makefile | |
download | aptly-lirionde-master.tar.bz2 |
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 |