You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
735 B

  1. hardcode version of hwinfo, this must be changed in sync
  2. with hwinfo version changes when updating the package
  3. --- a/Makefile
  4. +++ b/Makefile
  5. @@ -12,12 +12,8 @@ export SO_LIBS
  6. GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else echo true ; fi)
  7. GITDEPS := $(shell [ -d .git ] && echo .git/HEAD .git/refs/heads .git/refs/tags)
  8. -BRANCH := $(shell [ -d .git ] && git branch | perl -ne 'print $$_ if s/^\*\s*//')
  9. -ifdef HWINFO_VERSION
  10. -VERSION := $(shell echo ${HWINFO_VERSION} > VERSION; cat VERSION)
  11. -else
  12. -VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION)
  13. -endif
  14. +BRANCH := master
  15. +VERSION := $(shell echo 21.71 > VERSION; cat VERSION)
  16. PREFIX := hwinfo-$(VERSION)
  17. include Makefile.common