summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPetr Šplíchal <psplicha@redhat.com>2012-04-04 16:35:59 +0200
committerPetr Šplíchal <psplicha@redhat.com>2012-04-04 16:35:59 +0200
commitb4a3f89a6b7fc30cbc1b91ec09945c75e8781254 (patch)
tree7edd926b2290a190d1b01e307fca9820a0ea63e7 /Makefile
parente6cdf6a1b3f9e7cb3641ef4d64a083a5d32d1185 (diff)
downloadpython-nitrate-b4a3f89a6b7fc30cbc1b91ec09945c75e8781254.tar.gz
python-nitrate-b4a3f89a6b7fc30cbc1b91ec09945c75e8781254.tar.xz
python-nitrate-b4a3f89a6b7fc30cbc1b91ec09945c75e8781254.zip
New directories on the web: download & examples
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b970616..aebab44 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ PUSH_URL = fedorapeople.org:public_html/python-nitrate
PACKAGE = python-nitrate-$(VERSION)
DOCS = $(TMP)/$(PACKAGE)/documentation
+EXAMPLES = $(TMP)/$(PACKAGE)/examples
CSS = --stylesheet=style.css --link-stylesheet
FILES = COPYING README \
Makefile python-nitrate.spec \
@@ -32,12 +33,16 @@ srpm: tarball
packages: rpm srpm
push: packages
+ # Documentation
+ scp $(DOCS)/*.{css,html} $(PUSH_URL)
+ # Examples
+ scp $(EXAMPLES)/*.py $(PUSH_URL)/examples
+ # Archives & rpms
scp python-nitrate.spec \
$(TMP)/SRPMS/$(PACKAGE)* \
$(TMP)/RPMS/noarch/$(PACKAGE)* \
$(TMP)/SOURCES/$(PACKAGE).tar.bz2 \
- $(DOCS)/*.{css,html} \
- $(PUSH_URL)
+ $(PUSH_URL)/download
clean:
rm -rf $(TMP)