upload.mk: Now only tagging a document as uploaded if UPLOAD_TEST_PREFIX is empty

This commit is contained in:
Jan Lindemann 2010-07-08 20:16:57 +00:00 committed by Jan Lindemann
commit c536a2758d

View file

@ -28,8 +28,10 @@ rsync_ssh\://% ftp\://% scp\://%:
upload.dist: $(UPLOAD_FILES)
ifneq ($(UPLOAD_LAST_VERSION),$(VERSION))
make $(REMOTE_TARGETS)
ifeq ($(UPLOAD_TEST_PREFIX),)
echo $(VERSION) > $(UPLOAD_LAST_VERSION_FILE)
cvs commit -m "o $(VERSION)" $(UPLOAD_LAST_VERSION_FILE)
endif
endif
touch $@.done