git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 0af4fdea34b911f15ee7a3b9c1a19d97cd11e195 (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/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