Makefile.am 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # not a GNU package. You can remove this line, if
  2. # have all needed files, that a GNU package needs
  3. AUTOMAKE_OPTIONS = foreign 1.4
  4. README: doc/index.html
  5. (echo This file is generated from doc/index.html, which is easier to read if you have ; echo a web browser available. ; echo ; w3m doc/index.html) > README
  6. SUBDIRS = src doc examples mibs
  7. EXTRA_DIST = build_setup.nsi.in README
  8. MAINTAINERCLEANFILES = README
  9. version-check:
  10. # We don't want to release development versions.
  11. test x`echo $(PACKAGE_VERSION) | grep dev` = x
  12. # For all releases, check the ChangeLogs.
  13. head ChangeLog | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null
  14. # Ensure we're working from a tag...
  15. HEAD=`git rev-parse --verify HEAD` && test `git tag -l v$(VERSION) --contains $$HEAD | wc -l` -gt 0
  16. # ... and have no changes in the working copy.
  17. git status | grep -q "working directory clean"
  18. release: version-check distcheck packages
  19. packages:
  20. gpg -ab $(PACKAGE)-$(PACKAGE_VERSION).tar.gz
  21. gpg -ab $(PACKAGE)-$(PACKAGE_VERSION).tar.bz2
  22. gpg --verify $(PACKAGE)-$(PACKAGE_VERSION).tar.gz.asc $(PACKAGE)-$(PACKAGE_VERSION).tar.gz
  23. gpg --verify $(PACKAGE)-$(PACKAGE_VERSION).tar.bz2.asc $(PACKAGE)-$(PACKAGE_VERSION).tar.bz2
  24. if CYGWIN_BUILD
  25. if CYGWIN_BUILD_SETUP_EXE
  26. bin_SCRIPTS=docsis_setup.exe
  27. docsis_setup.exe: build_setup.nsi
  28. "${MAKENSIS}" build_setup.nsi
  29. endif
  30. endif