File: Makefile

package info (click to toggle)
git-notifier 1%3A0.6-25-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 168 kB
  • ctags: 111
  • sloc: python: 745; makefile: 18
file content (24 lines) | stat: -rw-r--r-- 581 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# Makefile is used only for building the distribution.

DISTFILES = git-notifier Makefile README.rst COPYING CHANGES VERSION

WWW = $(HOME)/www/git-notifier
VERSION = `cat VERSION`

all:

dist:
	rm -rf git-notifier-$(VERSION) git-notifier-$(VERSION).tar.gz
	mkdir git-notifier-$(VERSION)
	cp $(DISTFILES) git-notifier-$(VERSION)
	tar czvf git-notifier-$(VERSION).tar.gz git-notifier-$(VERSION)
	rm -rf git-notifier-$(VERSION)

doc:
	rst2html.py README.rst >README.html

www: dist doc
	cp README.html $(WWW)/index.html
	cp git-notifier-$(VERSION).tar.gz $(WWW)
	cp CHANGES $(WWW)