Fix windows compile.
[tor.git] / Makefile.am
blob8502682ca0e4ed8d8a40ff45af46475c6f8bb062
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/* .