summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKarl MacMillan <kmacmill@redhat.com>2007-10-18 10:02:26 -0400
committerKarl MacMillan <kmacmill@redhat.com>2007-10-18 10:02:26 -0400
commitc49d478b92843de3395a82b012847da8958afa2b (patch)
treef3ea089d6a471980e81db83d0d3ad33483e5ee7b /Makefile
parent1fcc3c66508e1e232768ae6a17396c2e44c669d0 (diff)
downloadfreeipa-c49d478b92843de3395a82b012847da8958afa2b.tar.gz
freeipa-c49d478b92843de3395a82b012847da8958afa2b.tar.xz
freeipa-c49d478b92843de3395a82b012847da8958afa2b.zip
Fix build from autoconf patch import.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dc2a4837f..6f89094d9 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,10 @@ all:
(cd $$subdir && $(MAKE) $@) || exit 1; \
done
+autogen:
+ cd ipa-server && sh autogen.sh --prefix=/usr --sysconfdir=/etc
+ cd ipa-client && sh autogen.sh --prefix=/usr --sysconfdir=/etc
+
install: all
@for subdir in $(SUBDIRS); do \
(cd $$subdir && $(MAKE) $@) || exit 1; \
@@ -87,6 +91,7 @@ tarballs:
# ipa-server
mv dist/freeipa/ipa-server dist/$(SERV_TARBALL_PREFIX)
rm -f dist/$(SERV_TARBALL)
+ cd dist/$(SERV_TARBALL_PREFIX; sh autogen.sh
cd dist; tar cfz $(SERV_TARBALL) $(SERV_TARBALL_PREFIX)
rm -fr dist/$(SERV_TARBALL_PREFIX)
@@ -105,6 +110,7 @@ tarballs:
# ipa-client
mv dist/freeipa/ipa-client dist/$(CLI_TARBALL_PREFIX)
rm -f dist/$(CLI_TARBALL)
+ cd dist/$(CLI_TARBALL_PREFIX; sh autogen.sh
cd dist; tar cfz $(CLI_TARBALL) $(CLI_TARBALL_PREFIX)
rm -fr dist/$(CLI_TARBALL_PREFIX)
@@ -145,5 +151,7 @@ dist: version-update archive tarballs archive-cleanup rpms
local-dist: clean version-update local-archive tarballs archive-cleanup rpms
-dist-clean: clean
+maintainer-clean: clean
rm -fr rpmbuild dist
+ cd ipa-server && $(MAKE) maintainer-clean
+ cd ipa-client && $(MAKE) maintainer-clean