diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-01 08:25:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-01 08:25:24 +0000 |
commit | 04de523b9c04675560f33a1ebfd8e80ee2db2bb8 (patch) | |
tree | df68eab906deeabe9bb1cf9126fcc843fc3bb489 /Makefile | |
parent | 40e4d11f385a6e4d9672e57f14c6b9c1a0f918a8 (diff) | |
download | alpine-conf-04de523b9c04675560f33a1ebfd8e80ee2db2bb8.zip |
added uniso
A tool for extracting files from iso images frrom a stream.
Will be used for setup-bootable.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -26,9 +26,12 @@ SBIN_FILES := lbu\ setup-timezone\ update-conf +BIN_FILES := uniso + SCRIPTS := $(LIB_FILES) $(SBIN_FILES) SCRIPT_SOURCES := $(addsuffix .in,$(SCRIPTS)) + ETC_LBU_FILES := lbu.conf EXTRA_DIST := Makefile README DIST_FILES := $(SCRIPT_SOURCES) $(ETC_LBU_FILES) $(EXTRA_DIST) @@ -61,7 +64,10 @@ SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \ ${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@ .PHONY: all apk clean dist install uninstall -all: $(SCRIPTS) +all: $(SCRIPTS) $(BIN_FILES) + +uniso: uniso.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ apk: $(APKF) @@ -75,7 +81,9 @@ $(TARBZ2): $(DIST_FILES) $(TAR) -cjf $@ $(TMP) rm -rf $(TMP) -install: +install: $(BIN_FILES) $(SBIN_FILES) $(LIB_FILES) $(ETC_LBU_FILES) + install -m 755 -d $(DESTDIR)/$(PREFIX)/bin + install -m 755 $(BIN_FILES) $(DESTDIR)$(PREFIX)/bin install -m 755 -d $(DESTDIR)/$(PREFIX)/sbin install -m 755 $(SBIN_FILES) $(DESTDIR)/$(PREFIX)/sbin install -m 755 -d $(DESTDIR)/$(PREFIX)/lib @@ -92,5 +100,5 @@ uninstall: done clean: - rm -rf $(SCRIPTS) $(TMP) $(TARBZ2) + rm -rf $(SCRIPTS) $(BIN_FILES) $(TMP) $(TARBZ2) |