git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormail_redacted_for_web 2024-09-15 15:29:35 +0200
committermail_redacted_for_web 2024-09-15 15:29:35 +0200
commit0d5486752d654086ca3bed648c008c60216726ba (patch)
treea8bd8f9360ea4e9835df0eb2f7ad0bebcc6d7283 /Makefile
downloadaptly-lirionde-master.tar.bz2
Initial commitHEAD0.5.0master
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
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