source: live-build/trunk/fuentes/frontends/cgi/Makefile @ 900

Last change on this file since 900 was 900, checked in by kbut, 4 years ago

add original source

File size: 818 bytes
Line 
1# Makefile
2
3install:
4        install -D -m 0755 live-build-cgi $(DESTDIR)/usr/lib/cgi-bin/live-build
5        install -D -m 0755 live-build-cgi.cron $(DESTDIR)/etc/cron.hourly/live-build-cgi
6        install -D -m 0644 live-build-cgi.crontab $(DESTDIR)/etc/cron.d/live-build-cgi
7        install -D -m 0644 live-build-cgi.default $(DESTDIR)/etc/default/live-build-cgi
8        install -D -m 0644 live-build-cgi.logrotate $(DESTDIR)/etc/logrotate.d/live-build-cgi
9
10        install -d -m 0755 $(DESTDIR)/var/log
11        touch $(DESTDIR)/var/log/live
12        chown www-data:www-data $(DESTDIR)/var/log/live
13
14uninstall:
15        rm -f $(DESTDIR)/usr/lib/cgi-bin/live-build
16        rm -f $(DESTDIR)/etc/cron.d/live-build-cgi
17        rm -f $(DESTDIR)/etc/cron.hourly/live-build-cgi
18        rm -f $(DESTDIR)/etc/default/live-build-cgi
19        rm -f $(DESTDIR)/etc/logrotate.d/live-build-cgi
20
21reinstall: uninstall install
Note: See TracBrowser for help on using the repository browser.