Makefile.am 592 B

123456789101112131415161718192021
  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
  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' contrib/tor.spec
  16. mv /tmp/tor-rpm-build/*RPMS/* .