summaryrefslogtreecommitdiff
path: root/pinyconfigs/Makefile
blob: 8a23b38bd11f2fa66d501941792d2bba0573eef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
build:

install:
	install -o root -g root -m 755 -d \
	  $(DESTDIR)/etc/apache2/piny-available \
	  $(DESTDIR)/etc/apache2/piny-enabled \
	  $(DESTDIR)/etc/apache2/sites-available \
	  $(DESTDIR)/etc/cron.weekly \
	  $(DESTDIR)/etc/ikiwiki/wikilist.d \
	  $(DESTDIR)/etc/sudoers.d \
	  $(DESTDIR)/etc/sv/git-daemon \
	  $(DESTDIR)/srv/git
	install -o root -g root -m 644 etc/cgitrc etc/piny-default.conf etc/piny-override.conf $(DESTDIR)/etc
	install -o root -g root -m 644 etc/apache2/envvars $(DESTDIR)/etc/apache2
	install -o root -g root -m 644 etc/apache2/sites-available/piny $(DESTDIR)/etc/apache2/sites-available
	install -o root -g root -m 755 etc/cron.weekly/piny $(DESTDIR)/etc/cron.weekly
	install -o root -g root -m 600 etc/sudoers.d/pinyadmin $(DESTDIR)/etc/sudoers.d
	install -o root -g root -m 755 etc/sv/git-daemon/run $(DESTDIR)/etc/sv/git-daemon

clean: