Initial import of xbps with code as August '09.
--HG-- extra : convert_revision : juan%40xbps-20090817170720-amxxac4a2e8bza1j
This commit is contained in:
18
bin/xbps-src/Makefile
Normal file
18
bin/xbps-src/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
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)
|
Reference in New Issue
Block a user