mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
311695e279
svn:r2682
27 lines
709 B
Makefile
27 lines
709 B
Makefile
AUTOMAKE_OPTIONS = foreign
|
|
# else it keeps trying to put COPYING back in
|
|
|
|
SUBDIRS = src doc contrib
|
|
|
|
DIST_SUBDIRS = src doc contrib
|
|
|
|
EXTRA_DIST = INSTALL README AUTHORS LICENSE ChangeLog tor.spec tor.spec.in
|
|
|
|
#install-data-local:
|
|
# $(INSTALL) -m 755 -d $(LOCALSTATEDIR)/lib/tor
|
|
|
|
dist-rpm: dist
|
|
rm -rf /tmp/tor-rpm-build
|
|
mkdir /tmp/tor-rpm-build
|
|
for subdir in BUILD RPMS SOURCES SPECS SRPMS; do \
|
|
mkdir /tmp/tor-rpm-build/$$subdir; \
|
|
done
|
|
cp tor-$(VERSION).tar.gz /tmp/tor-rpm-build/SOURCES
|
|
rpmbuild -ba --define '_topdir /tmp/tor-rpm-build' tor.spec
|
|
mv /tmp/tor-rpm-build/SRPMS/* .
|
|
mv /tmp/tor-rpm-build/RPMS/*/* .
|
|
rm -rf /tmp/tor-rpm-build
|
|
|
|
doxygen:
|
|
doxygen && cd doc/doxygen/latex && make
|