git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: bd29cbb9bf32cecab99ed2ea38fc20bda4eb1607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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