From b4a3f89a6b7fc30cbc1b91ec09945c75e8781254 Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Wed, 4 Apr 2012 16:35:59 +0200 Subject: New directories on the web: download & examples --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit