void-packages/bin/xbps-src/Makefile
Juan RP c86be9931b Install by default xbps.conf into $(PREFIX)/etc and use it.
--HG--
extra : convert_revision : d6550a3d9e6093cb1ec789715e2b1107b9bb59bd
2009-02-05 15:21:33 +01:00

18 lines
304 B
Makefile

TOPDIR = ../..
include $(TOPDIR)/vars.mk
BIN = xbps-src
.PHONY: all
all:
sed -e "s|@@XBPS_INSTALL_PREFIX@@|$(PREFIX)|g" \
-e "s|@@XBPS_INSTALL_ETCDIR@@|$(ETCDIR)|g" \
main.sh > xbps-src
.PHONY: clean
clean:
-rm -f $(BIN)
install: all
install -d $(SBINDIR)
install -m 755 $(BIN) $(SBINDIR)