mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-13 17:02:02 -05:00
Update for new python library layout.
This commit is contained in:
1 parent
899daaf048
commit
b8a0512998
12 files changed
+358
-27
No files matched your search
@@ -1,16 +1,5 @@
|
||||
SUBDIRS=ipa-install
|
||||
|
||||
# Version number - this is for the entire server. After
|
||||
# updating this you should run the version-update
|
||||
# target.
|
||||
MAJOR=0
|
||||
MINOR=1
|
||||
RELEASE=0
|
||||
VERSION=$(MAJOR).$(MINOR).$(RELEASE)
|
||||
|
||||
TARBALL_PREFIX=freeipa-server-$(VERSION)
|
||||
TARBALL=$(TARBALL_PREFIX).tgz
|
||||
|
||||
all:
|
||||
@for subdir in $(SUBDIRS); do \
|
||||
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
||||
@@ -25,16 +14,3 @@ clean:
|
||||
@for subdir in $(SUBDIRS); do \
|
||||
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
|
||||
version-update:
|
||||
sed s/VERSION/$(VERSION)/ freeipa-server.spec.in > freeipa-server.spec
|
||||
|
||||
tarball:
|
||||
-mkdir dist
|
||||
hg archive -p $(TARBALL_PREFIX) -t tgz dist/$(TARBALL)
|
||||
|
||||
dist: version-update tarball
|
||||
cp dist/$(TARBALL) ~/rpmbuild/SOURCES/.
|
||||
rpmbuild -ba freeipa-server.spec
|
||||
cp ~/rpmbuild/RPMS/noarch/freeipa-server-$(VERSION)-*.rpm dist/.
|
||||
cp ~/rpmbuild/SRPMS/freeipa-server-$(VERSION)-*.src.rpm dist/.
|
||||
Reference in new issue
Block a user