9680251382
These files are moved from the GIT repository. --HG-- extra : convert_revision : xtraeme%40gmail.com-20090818153742-98s9y92f5m19l3c2
20 lines
359 B
Makefile
20 lines
359 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" \
|
|
-e "s|@@XBPS_INSTALL_SHAREDIR@@|$(SHAREDIR)|g" \
|
|
main.sh > xbps-src
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-rm -f $(BIN)
|
|
|
|
install: all
|
|
install -d $(SBINDIR)
|
|
install -m 755 $(BIN) $(SBINDIR)
|