3f3b6d00dd
--HG-- extra : convert_revision : juan%40xbps-20090817170720-amxxac4a2e8bza1j
19 lines
304 B
Makefile
19 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)
|