/[soft]/indexhtml/trunk/Makefile
ViewVC logotype

Contents of /indexhtml/trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 485 - (show annotations) (download)
Mon Feb 7 23:18:17 2011 UTC (13 years, 1 month ago) by dmorgan
File size: 939 byte(s)
Import cleaned indexhtml
1 PACKAGE = indexhtml
2 VERSION:= 1
3
4 SVN_URL := $(shell svn info | grep ^URL: | cut -f2 -d\ )
5 SVN_BASE := $(shell svn info | sed -n '/^URL: \(.*\/$(PACKAGE)\).*/s//\1/p')
6
7 all:
8
9 clean:
10 -find . -name '*~' | xargs rm -f
11 rm -f *.bz2
12
13 install:
14 mkdir -p $(RPM_BUILD_ROOT)/usr/share/doc/HTML
15 cp -p HTML/* $(RPM_BUILD_ROOT)/usr/share/doc/HTML/
16
17 version:
18 @echo $(VERSION)
19
20 # rules to build a test rpm
21
22 cleandist:
23 rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2
24
25 localcopy:
26 svn export -q . $(PACKAGE)-$(VERSION)
27
28 tar:
29 tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
30 bzip2 -9vf $(PACKAGE)-$(VERSION).tar
31 rm -rf $(PACKAGE)-$(VERSION)
32
33
34 # rules to build a distributable rpm
35
36 dist: cleandist localcopy tar
37
38 log: changelog
39
40 changelog: ../common/username.xml
41 svn2cl --authors ../common/username.xml --accum
42 rm -f ChangeLog.bak
43 svn commit -m "Generated by svn2cl the `LC_TIME=C date '+%d_%b'`" ChangeLog
44
45 # Makefile ends here

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.30