puppet/vsroom/Makefile
Ossi Salmi 29bc90e6f6 Changed package fetching Makefiles for abusehelper, vsroom and wiki
No longer uses symlinks to manage package versions. Ppackage versions
are now recorded in /srv/puppet/files/common/packages/manifests/*.pp
instead, which must be included in the site or node manifest.
2011-12-08 15:03:19 +02:00

17 lines
467 B
Makefile

include $(CURDIR)/../Makefile.inc
BRANCH = default
SOURCE = https://bitbucket.org/clarifiednetworks/vsroom/get/$(BRANCH).tar.gz
TARGET = vsroom-$(BRANCH)-$(TIMESTAMP).tar.gz
all: tarball manifest
tarball: $(PACKAGES)/$(TARGET)
manifest: $(MANIFESTS)/vsroom.pp
$(PACKAGES)/$(TARGET):
@umask 022; echo $@; \
test -f $@ || curl -o $@ $(SOURCE)
$(MANIFESTS)/vsroom.pp: $(PACKAGES)/$(TARGET)
@umask 022; echo $@; \
echo '$$vsroom_package = "$(TARGET)"' > $@