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