Add to git.
[makeplus.git] / website.mk
1 # This is make+. Make+ is a set of scripts which enhance GNU make and
2 # let ou build RPMs, and other packages types with just one control
3 # file. Read more at http://www.annexia.org/freeware/makeplus/
4 #
5 # The original author is Richard W.M. Jones <rich@annexia.org>.
6 #
7 # This software has been explicitly placed in the PUBLIC DOMAIN.  You
8 # do not need any sort of license or agreement to use or copy this
9 # software. You may also copyright this software yourself, and/or
10 # relicense it under any terms you want, at any time and at no cost.
11 # This allows you (among other things) to include this software with
12 # other packages so that the user does not need to download and
13 # install make+ separately.
14
15 # This module contains code for building a website and uploading
16 # a whole release (source, binary, RPMs, website, etc.) to your server.
17
18 # mp_release is the main target. It builds everything and uploads it.
19 # The only thing you need to do is change the version number before
20 # running it.
21 mp_release:
22         cd $(srcdir) && $(MAKEPLUS_HOME)/release.sh
23
24 # This target just rebuilds the website (index.html).
25 mp_website: index.html
26
27 index.html: $(srcdir)/$(_mp_makefile)
28         $(MAKEPLUS_HOME)/make_website.sh > $@
29
30 .PHONY: mp_release mp_website