Makefile.am 913 B

12345678910111213141516171819202122232425262728293031323334
  1. AUTOMAKE_OPTIONS = foreign
  2. # else it keeps trying to put COPYING back in
  3. SUBDIRS = src doc contrib
  4. DIST_SUBDIRS = src doc contrib
  5. EXTRA_DIST = INSTALL README AUTHORS LICENSE ChangeLog tor.spec tor.spec.in
  6. #install-data-local:
  7. # $(INSTALL) -m 755 -d $(LOCALSTATEDIR)/lib/tor
  8. dist-rpm: dist
  9. rm -rf /tmp/tor-rpm-build
  10. mkdir /tmp/tor-rpm-build
  11. for subdir in BUILD RPMS SOURCES SPECS SRPMS; do \
  12. mkdir /tmp/tor-rpm-build/$$subdir; \
  13. done
  14. cp tor-$(VERSION).tar.gz /tmp/tor-rpm-build/SOURCES
  15. rpmbuild -ba --define '_topdir /tmp/tor-rpm-build' tor.spec
  16. mv /tmp/tor-rpm-build/SRPMS/* .
  17. mv /tmp/tor-rpm-build/RPMS/*/* .
  18. rm -rf /tmp/tor-rpm-build
  19. doxygen:
  20. doxygen && cd doc/doxygen/latex && make
  21. # Avoid strlcpy.c, strlcat.c, tree.h
  22. check-spaces:
  23. ./contrib/checkSpace.pl \
  24. src/common/*.h \
  25. src/common/[^s]*.c \
  26. src/or/[^t]*.[ch] src/or/t*.c