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 |
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 |