New upstream version
[tor.git] / Makefile.am
blob5d7dd0a81c9b7aeaf2d51402756526a28588be89
1 AUTOMAKE_OPTIONS = foreign
2  # else it keeps trying to put COPYING back in
4 SUBDIRS = src doc contrib
6 DIST_SUBDIRS = src doc contrib
8 EXTRA_DIST = INSTALL README AUTHORS LICENSE ChangeLog
10 #install-data-local:
11 #       $(INSTALL) -m 755 -d $(LOCALSTATEDIR)/lib/tor
13 dist-rpm: dist
14         rm -rf /tmp/tor-rpm-build
15         mkdir /tmp/tor-rpm-build
16         for subdir in BUILD RPMS SOURCES SPECS SRPMS; do \
17             mkdir /tmp/tor-rpm-build/$$subdir;           \
18         done
19         cp tor-$(VERSION).tar.gz /tmp/tor-rpm-build/SOURCES
20         rpmbuild -ba --define '_topdir /tmp/tor-rpm-build' contrib/tor.spec
21         mv /tmp/tor-rpm-build/*RPMS/* .
23 doxygen:
24         doxygen && cd doc/doxygen/latex && make