From eeaafbe5c0d5f2ffd87bf7d9f12c13df1bd0adf5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:04:20 +0200 Subject: Adding live-package 0.99-1. --- Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..749f805be --- /dev/null +++ b/Makefile @@ -0,0 +1,36 @@ +# Makefile + +all: install + +install: + # Install main script + install -D -m 755 make-live.sh $(DESTDIR)/usr/sbin/make-live + install -d -m 755 $(DESTDIR)/usr/share/make-live + + # Install package lists + cp -a lists $(DESTDIR)/usr/share/make-live + + # Install sub scripts + cp -a scripts $(DESTDIR)/usr/share/make-live + + # Install configuration templates + cp -a templates $(DESTDIR)/usr/share/make-live + + # Install manpages + install -d -m 755 $(DESTDIR)/usr/share/man/man8 + cp -a make-live.8 make-live.conf.8 $(DESTDIR)/usr/share/man/man8 + + # Install configuration file + install -D -m 644 make-live.conf $(DESTDIR)/etc/make-live.conf + +uninstall: + # Remove main script + rm -rf $(DESTDIR)/usr/sbin/make-live + + # Remove shared data + rm -rf $(DESTDIR)/usr/share/make-live + + # Remove configuration file + rm -f $(DESTDIR)/etc/make-live.conf + +reinstall: uninstall install -- cgit v1.2.3