~ubuntu-on-ec2/ubuntu-on-ec2/live-build

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Scott Moser
  • Date: 2011-07-28 16:07:31 UTC
  • mfrom: (1810.1.35)
  • Revision ID: smoser@ubuntu.com-20110728160731-9rrfmzjae4nr7fwz
* Using updated kernel default flavours for sid also for wheezy.
* Adding live-manual to recommends.
* Adding initial live-build-cron package.
[ Richard Nelson ]
* Move lxde package-lists to use gdm3 instead of gdm.
* Remove lxde test on LB_TASKS for gdm so we now get gdm3.
[ Daniel Baumann ]
* Correct gdm/gdm3 handling, prefere gdm for squeeze as before and use
  gdm3 for everything else.
* Adding extlinux to rescue package list.
* Adding live-boot-doc to recommends.
* Adding live-config-doc to recommends.
* Correcting wrong chroot call in chroot_archives, only affecting
  derivatives.
[ Daniel Baumann ]
* Using -wildcards option when calling mksquashfs with an excludes
  file.
[ Colin Watson ]
* Make --architectures armel only fail if --linux-flavours was not
  passed (Closes: #630464).
[ Daniel Baumann ]
* Renaming repositories option to archives for consistency with
  debian-policy terminology.
* Renaming chroot_sources script to chroot_archives for consistency
  with debian-policy terminology.
* Unifying config/chroot_archives and config/archives, now only using
  config/archives.
* Setting default distribution to wheezy (at least until #622838 is
  handled).
* Changing archives key suffix from .gpg to .key.
* Using .list suffix in config/archives.
* Unifying config/chroot_local-packagelists and config/binary_local-
  packagelists.
* Moving internal global package lists from 'lists' to 'package-
  lists'. This is not a user visible change.
* Moving config/chroot_local-tasklists/*.list to config/task-
  lists/*.chroot.list, analogue to config/package-lists.
* Since we don't have global tasks anymore, renaming lb_chroot_local-
  tasklists to lb_chroot_task-lists.
* Since we don't have global packages anymore, renaming
  lb_chroot_local-packages to lb_chroot_packages and
  config/chroot_local-packages to config/chroot_packages.
[ Colin Watson ]
* Fix default for LB_PARENT_ARCHIVE_AREAS (Closes: #630604).
[ Daniel Baumann ]
* Correct rmdir call in top-level Makefiles uninstall target to not
  fail if there was no prior live-build installation.
* Adjust name of archives directory in config tree.
* Removing forgotten reference to chroot_packages in lb_chroot.
* Correct keyring packages temporary workaround to not fail when
  aptitude is selected (Closes: #630919).
* Making copyright file distribution neutral.
* Making copyright headers distribution neutral.
* Making help message about missing po4a in manpages makefile
  distribution neutral.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
LANGUAGES = $(shell cd manpages/po && ls)
6
6
 
7
 
SCRIPTS = cgi/* functions/* examples/*/*.sh examples/auto/* scripts/*.sh scripts/*/*
 
7
SCRIPTS = cgi/* cron/* functions/* examples/*/*.sh examples/auto/* scripts/*.sh scripts/*/*
8
8
 
9
9
all: build
10
10
 
41
41
install:
42
42
        # Installing shared data
43
43
        mkdir -p $(DESTDIR)/usr/share/live/build
44
 
        cp -r cgi data examples functions scripts includes lists repositories templates $(DESTDIR)/usr/share/live/build
 
44
        cp -r archives cgi data examples functions scripts includes package-lists templates $(DESTDIR)/usr/share/live/build
45
45
 
46
46
        # Installing executables
47
47
        mkdir -p $(DESTDIR)/usr/bin
48
48
        mv $(DESTDIR)/usr/share/live/build/scripts/build/lb $(DESTDIR)/usr/share/live/build/scripts/build/live-build $(DESTDIR)/usr/bin
 
49
        cp cron/live-* $(DESTDIR)/usr/bin
49
50
 
50
51
        # Installing documentation
51
52
        mkdir -p $(DESTDIR)/usr/share/doc/live-build
73
74
uninstall:
74
75
        # Uninstalling shared data
75
76
        rm -rf $(DESTDIR)/usr/share/live/build
76
 
        rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/live
 
77
        rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/live || true
77
78
 
78
79
        # Uninstalling executables
79
80
        rm -f $(DESTDIR)/usr/bin/lb $(DESTDIR)/usr/bin/live-build