Magellan Linux

Diff of /trunk/installer-simple/Makefile

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

revision 2349 by niro, Fri Jan 3 22:53:23 2014 UTC revision 2448 by niro, Tue Jan 7 14:58:49 2014 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3  VERSION = $(shell cat VERSION)  SYSCONFDIR = /etc
 SYSTEMDUNITDIR = $(shell pkg-config --variable=systemdsystemunitdir systemd)  
 INSTALLER_TTY = tty1  
   
 SYSCONFDIR = etc  
4  PREFIX = /usr  PREFIX = /usr
5  LIBDIR = $(PREFIX)/lib/installer  LIBDIR = $(PREFIX)/lib/installer
6  BINDIR = $(PREFIX)/bin  BINDIR = $(PREFIX)/bin
# Line 13  SED = sed Line 9  SED = sed
9  INSTALL = install  INSTALL = install
10  LN_S = ln -snf  LN_S = ln -snf
11  RM = rm  RM = rm
12    CAT = cat
13    PKGCONFIG = pkg-config
14    
15    VERSION = $(shell $(CAT) VERSION)
16    SYSTEMDUNITDIR = $(shell $(PKGCONFIG) --variable=systemdsystemunitdir systemd)
17    INSTALLER_TTY = tty1
18    
19  all:  all:
20   $(SED) -e 's:%VERSIONTAG%:$(VERSION):' \   $(SED) -e 's:%VERSIONTAG%:$(VERSION):' \
# Line 42  install-systemd: Line 44  install-systemd:
44    
45  install: create-dirs install-files install-systemd  install: create-dirs install-files install-systemd
46    
47    pot: locale/installer.pot
48     generate-po.sh --create-pot bin/installer.sh.in installer
49     generate-po.sh --append-pot functions/common.sh installer
50     generate-po.sh --append-pot functions/common-dialogs.sh installer
51     generate-po.sh --append-pot functions/installer-dialogs.sh installer
52     generate-po.sh --append-pot functions/hwdetection.sh installer
53     generate-po.sh --generate bin/installer.sh.in installer
54    install-mo: locale/installer.pot
55     DESTDIR=$(DESTDIR) generate-po.sh --compile bin/installer.sh.in installer
56    
57  clean:  clean:
58   $(RM) -f bin/installer.sh   $(RM) -f bin/installer.sh
59   $(RM) -f systemd/installer.service   $(RM) -f systemd/installer.service

Legend:
Removed from v.2349  
changed lines
  Added in v.2448