diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -20,7 +20,7 @@ PACKAGES="$(shell cat packages.$(ARCH))" kver_FILE=$(WORKDIR)/root-image/etc/mkinitcpio.d/kernel26.kver -all: net-iso core-iso +all: net-iso core-iso torrent # Rules for each type of image core-iso: $(COREname) @@ -82,13 +82,17 @@ $(WORKDIR)/iso/$(INSTALL_DIR)/isomounts: isomounts root-image # Rule for make the [core] repo packages core-pkgs: -# mv core-pkgs $(WORKDIR)/ + if [ -d core-pkgs ] ; then mv core-pkgs $(WORKDIR)/ ; fi ./download-repo.sh core $(WORKDIR)/core-pkgs/src/core/pkg # Clean-up all work clean: - rm -rf $(WORKDIR) $(NETname) $(COREname) + if [ -d work/core-pkgs ] ; then mv work/core-pkgs . ; fi + rm -rf $(WORKDIR) $(NETname) $(COREname) $(NETname).torrent $(COREname).torrent + +torrent: + ./createtorrent $(NETname) $(COREname) .PHONY: all core-iso net-iso |