diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-29 19:24:50 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-29 19:24:50 +0100 |
commit | a1c7705cc2a8654bdf6e04cd1e4248121f64133b (patch) | |
tree | 3d5e916a2fd3f4e868e03af9fe95135fcb81a333 /Makefile | |
parent | 43f5f0baa0a40fa9e5c32dd76bd46b0637850f67 (diff) | |
parent | abc791d4e96f1da3c1874caa78aee1ee87847feb (diff) | |
download | taler-util-a1c7705cc2a8654bdf6e04cd1e4248121f64133b.tar.gz taler-util-a1c7705cc2a8654bdf6e04cd1e4248121f64133b.tar.bz2 taler-util-a1c7705cc2a8654bdf6e04cd1e4248121f64133b.zip |
move PaytoParse logic into taler-util (#6650)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -1,21 +1,26 @@ -include config.mk +include build-system/config.mk .SILENT: all all: dist $(echo) "This is a python project, no compilation at this step required." $(echo) "Run make install to install global." $(echo) "Run make install-user to install for the current user." - $(echo) "" - $(echo) "If you want to update your installation, use make update." # you need SOURCE_DATE_EPOCH at least at the 1980s when -# your default SOURCE_DATE_EPOCH in env is 1. +# your default SOURCE_DATE_EPOCH in env is 1. More information +# is found here: https://reproducible-builds.org/docs/source-date-epoch/ +# .PHONY: dist -dist: +dist: gana $(env) SOURCE_DATE_EPOCH=315532800 $(python) setup.py sdist bdist_wheel -install: all - (cd dist; $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m pip install taler-util) +.PHONY: gana +gana: + cd gana/gnu-taler-error-codes/; make; cp taler_error_codes.py ../../taler/util/; cd ../.. + +install: gana all + (cd dist; $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m pip install --upgrade --no-index --find-links=. taler-util) + uninstall: (cd dist; $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m pip uninstall taler-util) @@ -26,9 +31,6 @@ install-user: uninstall-user: (cd dist; $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m pip uninstall taler-util) -update: - (cd dist; $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m pip install --upgrade --no-index --find-links=. taler-util) - pypi: dist $(env) SOURCE_DATE_EPOCH=315532800 $(python) -m twine upload dist/* |