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