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
11 # $(INSTALL) -m 755 -d $(LOCALSTATEDIR)/lib/tor
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; \
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/* .
24 doxygen && cd doc/doxygen/latex && make