Skip to content

Commit

Permalink
Add new target 'install-otheros'
Browse files Browse the repository at this point in the history
This sticks all of the generated distribution files in $(PREFIX) to
include them in the github artifacts for CI builds

Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed Jun 15, 2020
1 parent a8bcf83 commit 492648f
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -46,6 +46,9 @@ upload: $(SNEKS)
+cd doc && make upload
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make upload); done

install-otheros: otheros
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make install-otheros); done

otheros: $(SNEKS)
+cd doc && make
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make); done
Expand Down
3 changes: 3 additions & 0 deletions hosts/linux/Makefile
Expand Up @@ -67,6 +67,9 @@ install:
upload: $(LINUX_SH)
rsync -avz $(LINUX_SH) $(SNEKDIST)

install-otheros: $(LINUX_SH)
cp $(LINUX_SH) $(DESTDIR)$(PREFIX)

clean:
rm -f snek-*.sh *.bz2
rm -rf linux
3 changes: 3 additions & 0 deletions hosts/macosx/Makefile
Expand Up @@ -105,6 +105,9 @@ FORCE:
install:
echo install done

install-otheros: $(MACOSX_DIST)
cp $(MACOSX_DIST) $(DESTDIR)$(PREFIX)

upload: $(MACOSX_DIST)
rsync -avz $(MACOSX_DIST) $(SNEKDIST)

Expand Down
3 changes: 3 additions & 0 deletions hosts/windows/Makefile
Expand Up @@ -69,6 +69,9 @@ RES=16 24 32 48 64 72 96 128 180 256
install:
echo install done

install-otheros: $(WINDOWS_INSTALL)
cp $(WINDOWS_INSTALL) $(DESTDIR)$(PREFIX)

upload: $(WINDOWS_INSTALL)
rsync -avz $(WINDOWS_INSTALL) $(SNEKDIST)

Expand Down
3 changes: 3 additions & 0 deletions hosts/zip/Makefile
Expand Up @@ -45,6 +45,9 @@ $(ZIP_DIST): $(ZIP_FILES)
install:
echo install done

install-otheros: $(ZIP_DIST)
cp $(ZIP_DIST) $(DESTDIR)$(PREFIX)

upload: $(ZIP_DIST)
rsync -avz $(ZIP_DIST) $(SNEKDIST)

Expand Down

0 comments on commit 492648f

Please sign in to comment.