Magellan Linux

Diff of /trunk/installer-simple/Makefile

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

revision 2332 by niro, Fri Jan 3 13:58:23 2014 UTC revision 2351 by niro, Sat Jan 4 00:38:12 2014 UTC
# Line 15  LN_S = ln -snf Line 15  LN_S = ln -snf
15  RM = rm  RM = rm
16    
17  all:  all:
18   $(SED) 's:%VERSIONTAG%:$(VERSION):' \   $(SED) -e 's:%VERSIONTAG%:$(VERSION):' \
19     -e 's:%LIBDIR%:$(LIBDIR):g' \
20   bin/installer.sh.in \   bin/installer.sh.in \
21   > bin/installer.sh   > bin/installer.sh
22   $(SED) -e 's:%INSTALLER_TTY%:$(INSTALLER_TTY):g'  \   $(SED) -e 's:%INSTALLER_TTY%:$(INSTALLER_TTY):g'  \
# Line 31  create-dirs: Line 32  create-dirs:
32  install-files:  install-files:
33   $(INSTALL) -m 0644 conf/installer.conf $(DESTDIR)$(SYSCONFDIR)   $(INSTALL) -m 0644 conf/installer.conf $(DESTDIR)$(SYSCONFDIR)
34   $(INSTALL) -m 0755 bin/installer.sh $(DESTDIR)$(BINDIR)/installer   $(INSTALL) -m 0755 bin/installer.sh $(DESTDIR)$(BINDIR)/installer
35   $(INSTALL) -m 0644 functions/findhdd.sh $(DESTDIR)$(LIBDIR)/functions/   $(INSTALL) -m 0644 functions/hwdetection.sh $(DESTDIR)$(LIBDIR)/functions/
36    
37  install-systemd  install-systemd:
38   $(INSTALL) -d $(DESTDIR)/$(SYSTEMDUNITDIR)   $(INSTALL) -d $(DESTDIR)/$(SYSTEMDUNITDIR)
39   $(INSTALL) -d $(DESTDIR)/$(SYSTEMDUNITDIR)/local-fs.target.wants   $(INSTALL) -d $(DESTDIR)/$(SYSTEMDUNITDIR)/local-fs.target.wants
40   $(INSTALL) -m 0644 systemd/mnt-cdrom.mount $(DESTDIR)/$(SYSTEMDUNITDIR)   $(INSTALL) -m 0644 systemd/mnt-cdrom.mount $(DESTDIR)/$(SYSTEMDUNITDIR)
# Line 41  install-systemd Line 42  install-systemd
42    
43  install: create-dirs install-files install-systemd  install: create-dirs install-files install-systemd
44    
45    pot: locale/installer.pot
46     generate-po.sh --create-pot bin/installer.sh.in installer
47     generate-po.sh --append-pot functions/common.sh installer
48     generate-po.sh --append-pot functions/common-dialogs.sh installer
49     generate-po.sh --append-pot functions/installer-dialogs.sh installer
50     generate-po.sh --append-pot functions/hwdetection.sh installer
51     generate-po.sh --generate bin/installer.sh.in installer
52    install-mo: locale/installer.pot
53     DESTDIR=$(DESTDIR) generate-po.sh --compile bin/installer.sh.in installer
54    
55  clean:  clean:
56   $(RM) -f bin/installer.sh   $(RM) -f bin/installer.sh
57   $(RM) -f systemd/installer.service   $(RM) -f systemd/installer.service

Legend:
Removed from v.2332  
changed lines
  Added in v.2351