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 2456 by niro, Tue Jan 7 15:09:12 2014 UTC revision 2497 by niro, Wed Jan 8 13:13:30 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: bin/installer.sh systemd/installer.service  all:
   
 bin/installer.sh:  
20   $(SED) -e 's:%VERSIONTAG%:$(VERSION):' \   $(SED) -e 's:%VERSIONTAG%:$(VERSION):' \
21   -e 's:%LIBDIR%:$(LIBDIR):g' \   -e 's:%LIBDIR%:$(LIBDIR):g' \
22   -e 's:%SYSCONFDIR%:$(SYSCONFDIR):g' \   -e 's:%SYSCONFDIR%:$(SYSCONFDIR):g' \
23   bin/installer.sh.in \   bin/installer.sh.in \
24   > bin/installer.sh   > bin/installer.sh
   
 systemd/installer.service:  
25   $(SED) -e 's:%INSTALLER_TTY%:$(INSTALLER_TTY):g' \   $(SED) -e 's:%INSTALLER_TTY%:$(INSTALLER_TTY):g' \
26   -e 's:%BINDIR%:$(BINDIR):g' \   -e 's:%BINDIR%:$(BINDIR):g' \
27   systemd/installer.service.in \   systemd/installer.service.in \
# Line 79  install-mo: locale/installer.pot Line 75  install-mo: locale/installer.pot
75  clean:  clean:
76   $(RM) -f bin/installer.sh   $(RM) -f bin/installer.sh
77   $(RM) -f systemd/installer.service   $(RM) -f systemd/installer.service
78     $(RM) -f locale/installer.pot.dump
79     $(RM) -f locale/installer.pot.fixed
80    
81  .PHONY: all install  .PHONY: all install

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