7740958643
- Remove lib/info.c that doesn't belong in the lib and add it into the bins. - Every binary now uses its own directory on bin/. This is in preparation for future changes for correct behaviour of the library and binaries. --HG-- extra : convert_revision : 880d16378bf940c4f5478de0362afe883cd5fd2c
18 lines
277 B
Makefile
18 lines
277 B
Makefile
TOPDIR = ../..
|
|
include $(TOPDIR)/vars.mk
|
|
|
|
BIN = xbps-src
|
|
|
|
.PHONY: all
|
|
all:
|
|
sed -e "s|@@XBPS_INSTALL_PREFIX@@|$(PREFIX)|g" main.sh > xbps-src
|
|
|
|
.PHONY: clean
|
|
clean: clean-bins
|
|
|
|
clean-bins:
|
|
-rm -f $(BIN)
|
|
|
|
install: $(BIN)
|
|
install -d $(SBINDIR)
|
|
install -m 755 $(BIN) $(SBINDIR)
|