~timrchavez/live-build/lb-sg-2.x-add-suppport-for-pxz

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Daniel Baumann
  • Date: 2007-09-23 08:04:20 UTC
  • Revision ID: daniel@debian.org-20070923080420-nc0xzqlh0gz60r5t
Adding live-package 0.99-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile
 
2
 
 
3
all:            install
 
4
 
 
5
install:
 
6
                # Install main script
 
7
                install -D -m 755 make-live.sh $(DESTDIR)/usr/sbin/make-live
 
8
                install -d -m 755 $(DESTDIR)/usr/share/make-live
 
9
 
 
10
                # Install package lists
 
11
                cp -a lists $(DESTDIR)/usr/share/make-live
 
12
 
 
13
                # Install sub scripts
 
14
                cp -a scripts $(DESTDIR)/usr/share/make-live
 
15
 
 
16
                # Install configuration templates
 
17
                cp -a templates $(DESTDIR)/usr/share/make-live
 
18
 
 
19
                # Install manpages
 
20
                install -d -m 755 $(DESTDIR)/usr/share/man/man8
 
21
                cp -a make-live.8 make-live.conf.8 $(DESTDIR)/usr/share/man/man8
 
22
 
 
23
                # Install configuration file
 
24
                install -D -m 644 make-live.conf $(DESTDIR)/etc/make-live.conf
 
25
 
 
26
uninstall:
 
27
                # Remove main script
 
28
                rm -rf $(DESTDIR)/usr/sbin/make-live
 
29
 
 
30
                # Remove shared data
 
31
                rm -rf $(DESTDIR)/usr/share/make-live
 
32
 
 
33
                # Remove configuration file
 
34
                rm -f $(DESTDIR)/etc/make-live.conf
 
35
 
 
36
reinstall:      uninstall install