Code

c518ef62ef82437d6d5a2ae4449f1fee98e43099
[fusedav.git] / Makefile.am
1 # $Id$
3 # Copyright (c) 2004-2006 Lennart Poettering
4 #
5 # Permission is hereby granted, free of charge, to any person
6 # obtaining a copy of this software and associated documentation files
7 # (the "Software"), to deal in the Software without restriction,
8 # including without limitation the rights to use, copy, modify, merge,
9 # publish, distribute, sublicense, and/or sell copies of the Software,
10 # and to permit persons to whom the Software is furnished to do so,
11 # subject to the following conditions:
12 #
13 # The above copyright notice and this permission notice shall be
14 # included in all copies or substantial portions of the Software.
15 #
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
20 # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 # SOFTWARE.
25 EXTRA_DIST=bootstrap.sh README LICENSE
26 SUBDIRS=src doc
28 MAINTAINERCLEANFILES = README
29 noinst_DATA = README LICENSE
31 README:
32         rm -f README
33         $(MAKE) -C doc README
34         cd $(srcdir) && ln -s doc/README README
36 homepage: all dist
37         test -d $$HOME/homepage/private
38         mkdir -p $$HOME/homepage/private/projects/fusedav
39         cp *.tar.gz $$HOME/homepage/private/projects/fusedav
40         cp doc/README.html doc/style.css $$HOME/homepage/private/projects/fusedav
41         ln -sf $$HOME/homepage/private/projects/fusedav/README.html $$HOME/homepage/private/projects/fusedav/index.html
43 distcleancheck:
44         @:
46 .PHONY: homepage distcleancheck