| 1 |
# A simple make file for building GDM distributions.
|
| 2 |
#
|
| 3 |
# The following distributions are built:
|
| 4 |
#
|
| 5 |
# o gdm-2.6.0.5-6
|
| 6 |
# o gdm-2.6.0.5-7.rhel4.12
|
| 7 |
#
|
| 8 |
# Instructions:
|
| 9 |
# -------------
|
| 10 |
#
|
| 11 |
# 1. Type 'make' to build the distributions
|
| 12 |
#
|
| 13 |
# 2. Source and binary RPMS for the distributions are created as follows:
|
| 14 |
#
|
| 15 |
# dist/gdm-2.6.0.5-6/build/RPMS/i386/gdm-2.6.0.5-6.i386.rpm
|
| 16 |
# dist/gdm-2.6.0.5-6/build/SRPMS/gdm-2.6.0.5-6.src.rpm
|
| 17 |
# dist/gdm-2.6.0.5-7.rhel4.12/build/RPMS/i386/gdm-2.6.0.5-7.rhel4.12.i386.rpm
|
| 18 |
# dist/gdm-2.6.0.5-7.rhel4.12/build/SRPMS/gdm-2.6.0.5-7.rhel4.12.src.rpm
|
| 19 |
#
|
| 20 |
# 3. Type 'make clean' to remove the generated distributions
|
| 21 |
|
| 22 |
TOP_DIR=$(PWD)
|
| 23 |
|
| 24 |
PRODUCT=gdm
|
| 25 |
VERSION=2.6.0.5
|
| 26 |
SCRIPT=./rebuild.sh
|
| 27 |
|
| 28 |
PATCH_FILE=$(TOP_DIR)/$(PRODUCT)-$(VERSION)-smartcard.patch
|
| 29 |
|
| 30 |
all: rpms
|
| 31 |
|
| 32 |
clean:
|
| 33 |
rm -f $(PATCH_FILE)
|
| 34 |
rm -rf ${TOP_DIR}/dist/${PRODUCT}-${VERSION}-6/build
|
| 35 |
rm -rf ${TOP_DIR}/dist/${PRODUCT}-${VERSION}-7.rhel4.12/build
|
| 36 |
|
| 37 |
rpms: rpm-6 rpm-7-rhel4-12
|
| 38 |
|
| 39 |
rpm-6:
|
| 40 |
$(SCRIPT) 6
|
| 41 |
|
| 42 |
rpm-7-rhel4-12:
|
| 43 |
$(SCRIPT) 7.rhel4.12
|