diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:21 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:21 +0200 |
commit | fb35af8aa207ef5377022028d9e2b497445fb349 (patch) | |
tree | e928737e9e000d1f2509395f58f04465c17794c5 /Makefile | |
parent | 18e4f460bf1c115c62ea9aebb56d75d486322531 (diff) | |
download | live-build-fb35af8aa207ef5377022028d9e2b497445fb349.zip live-build-fb35af8aa207ef5377022028d9e2b497445fb349.tar.gz |
Adding live-package 0.99.3-1.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 48 |
1 files changed, 27 insertions, 21 deletions
@@ -1,36 +1,42 @@ # Makefile -all: install +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 + # Installing make-live + @# Install main script + install -D -m 0755 src/main.sh $(DESTDIR)/usr/sbin/make-live - # Install package lists - cp -a lists $(DESTDIR)/usr/share/make-live + @# Install configuration file + install -D -m 0644 src/config $(DESTDIR)/etc/make-live.conf - # Install sub scripts - cp -a scripts $(DESTDIR)/usr/share/make-live + @# Install package lists + install -d -m 0755 $(DESTDIR)/usr/share/make-live/lists + install -m 0644 src/lists/* $(DESTDIR)/usr/share/make-live/lists - # Install configuration templates - cp -a templates $(DESTDIR)/usr/share/make-live + @# Install sub scripts + install -d -m 0755 $(DESTDIR)/usr/share/make-live/scripts + install -m 0755 src/scripts/*.sh $(DESTDIR)/usr/share/make-live/scripts - # 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 templates + cp -r templates $(DESTDIR)/usr/share/make-live - # Install configuration file - install -D -m 644 make-live.conf $(DESTDIR)/etc/make-live.conf + @# Install manpages + install -d -m 0755 $(DESTDIR)/usr/share/man/man8 + install -m 0644 doc/*.8 $(DESTDIR)/usr/share/man/man8 uninstall: - # Remove main script - rm -rf $(DESTDIR)/usr/sbin/make-live + # Uninstalling make-live + @# Remove main script + rm -f $(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 - # Remove configuration file - rm -f $(DESTDIR)/etc/make-live.conf + @# Remove shared data + rm -rf $(DESTDIR)/usr/share/make-live + + @# Remove manpages + rm -f $(DESTDIR)/usr/share/man/man8/make-live.* reinstall: uninstall install |