summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-05-18 14:52:42 -0400
committerSimo Sorce <ssorce@redhat.com>2009-05-19 11:09:45 -0400
commit84ae5edab16ad6be5e3be956cb6fa031c1428eb5 (patch)
treea9884af6cfc28ad1e440cd50e38d8fab204411ea /Makefile.am
parent53499a31876e720597a42f59c16a4326c8c23671 (diff)
downloadsssd-84ae5edab16ad6be5e3be956cb6fa031c1428eb5.tar.gz
sssd-84ae5edab16ad6be5e3be956cb6fa031c1428eb5.tar.xz
sssd-84ae5edab16ad6be5e3be956cb6fa031c1428eb5.zip
Convert top-level of SSSD to automake.
Also update RPM spec and build procedures.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 000000000..60d739e80
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,24 @@
+SUBDIRS = replace common server sss_client
+
+RPMBUILD ?= $(PWD)/rpmbuild
+
+dist_noinst_DATA = \
+ sssd.spec.in \
+ BUILD.txt \
+ COPYING
+
+rpmroot:
+ mkdir -p $(RPMBUILD)/BUILD
+ mkdir -p $(RPMBUILD)/RPMS
+ mkdir -p $(RPMBUILD)/SOURCES
+ mkdir -p $(RPMBUILD)/SPECS
+ mkdir -p $(RPMBUILD)/SRPMS
+
+rpmdistdir:
+ mkdir -p dist/rpms
+ mkdir -p dist/srpms
+
+rpms: dist-gzip rpmroot rpmdistdir
+ cp $(builddir)/sssd.spec $(RPMBUILD)/SPECS
+ cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
+ cd $(RPMBUILD); rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec