Magellan Linux

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

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

revision 2348 by niro, Fri Jan 3 22:53:02 2014 UTC revision 2447 by niro, Tue Jan 7 14:57:45 2014 UTC
# Line 4  VERSION = $(shell cat VERSION) Line 4  VERSION = $(shell cat VERSION)
4  SYSTEMDUNITDIR = $(shell pkg-config --variable=systemdsystemunitdir systemd)  SYSTEMDUNITDIR = $(shell pkg-config --variable=systemdsystemunitdir systemd)
5  INSTALLER_TTY = tty1  INSTALLER_TTY = tty1
6    
7  SYSCONFDIR = etc  SYSCONFDIR = /etc
8  PREFIX = /usr  PREFIX = /usr
9  LIBDIR = $(PREFIX)/lib/installer  LIBDIR = $(PREFIX)/lib/installer
10  BINDIR = $(PREFIX)/bin  BINDIR = $(PREFIX)/bin
# Line 16  RM = rm Line 16  RM = rm
16    
17  all:  all:
18   $(SED) -e 's:%VERSIONTAG%:$(VERSION):' \   $(SED) -e 's:%VERSIONTAG%:$(VERSION):' \
19   -e 's:%LIBDIR%:$(LIBDIR):g'   -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 42  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.2348  
changed lines
  Added in v.2447