mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Use a character, that can't be used in rpm Version and Release tag, as the delimiter in sed expressions. Fixes: #25 Signed-off-by: Dan Horák <dan@danny.cz> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
17 lines
438 B
Makefile
17 lines
438 B
Makefile
include ../common.mak
|
|
|
|
all:
|
|
|
|
install: qethconf
|
|
$(SED) -e 's/%S390_TOOLS_VERSION%/$(S390_TOOLS_RELEASE)/' \
|
|
< qethconf >$(DESTDIR)$(BINDIR)/qethconf; \
|
|
chown $(OWNER).$(GROUP) $(DESTDIR)$(BINDIR)/qethconf; \
|
|
chmod 755 $(DESTDIR)$(BINDIR)/qethconf; \
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man8
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 qethconf.8 \
|
|
$(DESTDIR)$(MANDIR)/man8
|
|
|
|
clean:
|
|
|
|
.PHONY: all install clean
|