Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow out-of-source-compilation #4

Merged
merged 3 commits into from Sep 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions .gitignore
@@ -0,0 +1,16 @@
*.pyc
aclocal.m4
autom4te.cache
compile
config.guess
config.h.in
config.sub
configure
depcomp
dist
fontList.cache
install-sh
ltmain.sh
Makefile.in
MANIFEST
missing
3 changes: 2 additions & 1 deletion Makefile.am
@@ -1,7 +1,7 @@
SUBDIRS = @LIBPYCSA_SUBDIR@

PACKAGE_NAME = python-csa
PACKAGE_VERSION = $(shell python -c 'from csa.version import __version__; print __version__')
PACKAGE_VERSION = $(shell PYTHONPATH=$(srcdir) python -c 'from csa.version import __version__; print __version__')

debdir = dist/csa-$(PACKAGE_VERSION)

Expand All @@ -21,6 +21,7 @@ debian-package: debian-source
( cd $(debdir) && dpkg-buildpackage '-mMikael Djurfeldt <mdj@debian.org>' -rfakeroot && cd ../.. && rm -rf $(debdir) )

install-exec-hook:
cd $(srcdir) &&\
$(PYTHON) setup.py build --build-base=$(abs_builddir)/build install --prefix=$(DESTDIR)$(prefix) --install-lib=$(DESTDIR)$(pyexecdir) --install-scripts=$(DESTDIR)$(bindir) --install-data=$(DESTDIR)$(pkgdatadir)

clean-local:
Expand Down