diff options
author | Tomas Mraz <tmraz@redhat.com> | 2014-08-06 16:44:48 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@redhat.com> | 2014-08-06 16:44:48 +0200 |
commit | 9e63ee6bc3bb2e09e512479199e108202721cc75 (patch) | |
tree | f2d08cb7e76ee7d75747967a65992f934bc25709 /python | |
parent | a95e7dc723b470583e62ad6b387e866a94040b1e (diff) | |
download | libpwquality-9e63ee6bc3bb2e09e512479199e108202721cc75.tar.gz |
Add the python3 subpackage.
Diffstat (limited to 'python')
-rw-r--r-- | python/Makefile.am | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/python/Makefile.am b/python/Makefile.am index d32b2f3..abc5cd3 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -6,11 +6,12 @@ pythonincdir = $(includedir)/python@PYTHONREV@ pythonsitedir = @PYTHONSITEDIR@ -CLEANFILES = *~ constants.c pwquality.so +CLEANFILES = *~ constants.c *.so EXTRA_DIST = pwquality.c setup.py -pythonsite_SCRIPTS = pwquality.so +all-local: + CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-lib=. -pwquality.so: ../src/pwquality.h pwquality.c setup.py - CFLAGS="${CFLAGS} -fno-strict-aliasing" python setup.py build --build-lib=. +install-exec-local: + CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py install --prefix=${DESTDIR}${prefix} |