Magellan Linux

Diff of /tags/installer-simple-0_4_90_20140108_2/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2450 by niro, Tue Jan 7 15:01:30 2014 UTC revision 2456 by niro, Tue Jan 7 15:09:12 2014 UTC
# Line 16  VERSION = $(shell $(CAT) VERSION) Line 16  VERSION = $(shell $(CAT) VERSION)
16  SYSTEMDUNITDIR = $(shell $(PKGCONFIG) --variable=systemdsystemunitdir systemd)  SYSTEMDUNITDIR = $(shell $(PKGCONFIG) --variable=systemdsystemunitdir systemd)
17  INSTALLER_TTY = tty1  INSTALLER_TTY = tty1
18    
19  all:  all: bin/installer.sh systemd/installer.service
20    
21    bin/installer.sh:
22   $(SED) -e 's:%VERSIONTAG%:$(VERSION):' \   $(SED) -e 's:%VERSIONTAG%:$(VERSION):' \
23   -e 's:%LIBDIR%:$(LIBDIR):g' \   -e 's:%LIBDIR%:$(LIBDIR):g' \
24     -e 's:%SYSCONFDIR%:$(SYSCONFDIR):g' \
25   bin/installer.sh.in \   bin/installer.sh.in \
26   > bin/installer.sh   > bin/installer.sh
27   $(SED) -e 's:%INSTALLER_TTY%:$(INSTALLER_TTY):g'  \  
28   -e 's:%BINDIR%:$(BINDIR):g'  \  systemd/installer.service:
29     $(SED) -e 's:%INSTALLER_TTY%:$(INSTALLER_TTY):g' \
30     -e 's:%BINDIR%:$(BINDIR):g' \
31   systemd/installer.service.in \   systemd/installer.service.in \
32   > systemd/installer.service   > systemd/installer.service
33    
# Line 51  install-systemd: Line 56  install-systemd:
56   $(INSTALL) -m 0644 systemd/mnt-cdrom.mount $(DESTDIR)/$(SYSTEMDUNITDIR)   $(INSTALL) -m 0644 systemd/mnt-cdrom.mount $(DESTDIR)/$(SYSTEMDUNITDIR)
57   $(LN_S) ../mnt-cdrom.mount $(DESTDIR)/$(SYSTEMDUNITDIR)/local-fs.target.wants/mnt-cdrom.mount   $(LN_S) ../mnt-cdrom.mount $(DESTDIR)/$(SYSTEMDUNITDIR)/local-fs.target.wants/mnt-cdrom.mount
58    
59  install: create-dirs install-files install-systemd  install: create-dirs install-files install-systemd install-mo
60    
61  pot: locale/installer.pot  pot: locale/installer.pot
62   generate-po.sh --create-pot bin/installer.sh.in installer   generate-po.sh --create-pot bin/installer.sh.in installer
# Line 65  pot: locale/installer.pot Line 70  pot: locale/installer.pot
70   generate-po.sh --append-pot functions/initrd-tools.sh installer   generate-po.sh --append-pot functions/initrd-tools.sh installer
71   generate-po.sh --append-pot functions/dracut.sh installer   generate-po.sh --append-pot functions/dracut.sh installer
72   generate-po.sh --append-pot functions/mkinitrd.sh installer   generate-po.sh --append-pot functions/mkinitrd.sh installer
73     generate-po.sh --unique-pot bin/installer.sh.in installer
74   generate-po.sh --generate bin/installer.sh.in installer   generate-po.sh --generate bin/installer.sh.in installer
75    
76  install-mo: locale/installer.pot  install-mo: locale/installer.pot
77   DESTDIR=$(DESTDIR) generate-po.sh --compile bin/installer.sh.in installer   DESTDIR=$(DESTDIR) generate-po.sh --compile bin/installer.sh.in installer
78    

Legend:
Removed from v.2450  
changed lines
  Added in v.2456