diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-04 07:48:39 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-04 13:56:15 +0200 |
commit | b1d62854f407d63fbec91861ca848935c3dd5b47 (patch) | |
tree | 997d2d1f4c3ef79d420c4eddd51a5dc0d1ebdddd /Makefile | |
parent | 129c45f840a8456395cbbc042aaef285f6ec9430 (diff) | |
download | alpine-conf-b1d62854f407d63fbec91861ca848935c3dd5b47.zip |
make: add target for iso image
Make an iso image that can be mounted in a virtual machine for testing.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -61,7 +61,7 @@ SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \ %: %.in ${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@ -.PHONY: all apk clean install uninstall +.PHONY: all apk clean install uninstall iso all: $(SCRIPTS) $(BIN_FILES) uniso: uniso.c @@ -94,4 +94,10 @@ uninstall: done clean: - rm -rf $(SCRIPTS) $(BIN_FILES) + rm -rf $(SCRIPTS) $(BIN_FILES) alpine-conf.iso + +alpine-conf.iso: $(SCRIPTS) $(BIN_FILES) + $(MAKE) install PREFIX=/ DESTDIR=tmp/ + xorriso -as mkisofs -r -V 'ALPINECONF' -J -o $@ tmp/ && rm -rf tmp + +iso: alpine-conf.iso |