freeipa/ipa-python/Makefile

18 lines
389 B
Makefile
Raw Normal View History

0000-12-31 18:09:24 -05:50
PYTHONLIBDIR ?= $(shell python -c "from distutils.sysconfig import *; print get_python_lib()")
0000-12-31 18:09:24 -05:50
PACKAGEDIR ?= $(DESTDIR)/$(PYTHONLIBDIR)/ipa
CONFIGDIR ?= $(DESTDIR)/etc/ipa
0000-12-31 18:09:24 -05:50
all: ;
install:
-mkdir -p $(PACKAGEDIR)
install -m 644 *.py $(PACKAGEDIR)
-mkdir -p $(CONFIGDIR)
if ! [ -e $(CONFIGDIR)/ipa.conf ]; then \
install -m 644 ipa.conf $(CONFIGDIR); \
fi
0000-12-31 18:09:24 -05:50
clean:
rm -f *~ *.pyc