Skip to content

Commit

Permalink
Use the correct SYSCONFDIR in slkbuild
Browse files Browse the repository at this point in the history
Replace the @sysconfdir@ placeholder in the slkbuild file with the
actual SYSCONFDIR location.
  • Loading branch information
gapan committed Oct 26, 2015
1 parent 8731441 commit db5b5e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ PREFIX ?= /usr/local
DESTDIR ?= /
SYSCONFDIR ?= /etc

nothing:
@echo "Nothing to make."
all:
sed -i "s/@SYSCONFDIR@/$(SYSCONFDIR)/g" src/slkbuild

install:
install -Dm 755 src/slkbuild $(DESTDIR)/$(PREFIX)/bin/slkbuild
Expand All @@ -12,4 +12,4 @@ install:
install -d -m 755 $(DESTDIR)/$(SYSCONFDIR)/slkbuild
install -m 644 etc/SLKBUILD* $(DESTDIR)/$(SYSCONFDIR)/slkbuild/

.PHONY: nothing install
.PHONY: all install

0 comments on commit db5b5e7

Please sign in to comment.