summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/Makefile38
-rw-r--r--ipapython/Makefile.am1
2 files changed, 1 insertions, 38 deletions
diff --git a/ipapython/Makefile b/ipapython/Makefile
deleted file mode 100644
index 7ecc5f565..000000000
--- a/ipapython/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-PYTHON ?= /usr/bin/python2
-PYTHONLIBDIR ?= $(shell $(PYTHON) -c "from distutils.sysconfig import *; print(get_python_lib())")
-
-all:
- @for subdir in $(SUBDIRS); do \
- (cd $$subdir && $(MAKE) $@) || exit 1; \
- done
-
-check:
-
-.PHONY: install
-install:
- if [ "$(DESTDIR)" = "" ]; then \
- $(PYTHON) setup.py install; \
- else \
- $(PYTHON) setup.py install --root $(DESTDIR); \
- fi
- @for subdir in $(SUBDIRS); do \
- (cd $$subdir && $(MAKE) $@) || exit 1; \
- done
-
-clean:
- rm -rf *~ *.pyc __pycache__/
- @for subdir in $(SUBDIRS); do \
- (cd $$subdir && $(MAKE) $@) || exit 1; \
- done
-
-distclean: clean
- rm -f ipa-python.spec version.py
- @for subdir in $(SUBDIRS); do \
- (cd $$subdir && $(MAKE) $@) || exit 1; \
- done
-
-maintainer-clean: distclean
- rm -rf build
- @for subdir in $(SUBDIRS); do \
- (cd $$subdir && $(MAKE) $@) || exit 1; \
- done
diff --git a/ipapython/Makefile.am b/ipapython/Makefile.am
new file mode 100644
index 000000000..8be72b25d
--- /dev/null
+++ b/ipapython/Makefile.am
@@ -0,0 +1 @@
+include $(top_srcdir)/Makefile.python.am