[BACK]Return to GNUmakefile CVS log [TXT][DIR] Up to [Development] / projects / inventor

File: [Development] / projects / inventor / GNUmakefile (download)

Revision 1.3, Mon Sep 18 11:10:05 2000 UTC (17 years, 1 month ago) by jlim
Branch: MAIN
Changes since 1.2: +23 -37 lines

Updated makefile and documentation.

IVDEPTH = .
include $(IVDEPTH)/make/ivcommondefs


# Use of LSUBDIRS is to allow override using environment variable without
# conflicting with SUBDIRS in subdirectory makefiles.

LSUBDIRS = libimage tools lib libSoXt doc data apps
SUBDIRS = $(LSUBDIRS)

all install $(COMMONTARGS):
	$(SUBDIRS_MAKERULE)


SPECS = sgi-OpenInventor-clients.rpm.spec \
	sgi-OpenInventor-data.rpm.spec \
	sgi-OpenInventor-devel.rpm.spec

TARBALL = oiv.tar.gz

rpms:
	cd ..; rm -f $(TARBALL); tar zcvf $(TARBALL) inventor
	su -c "cp -f ../$(TARBALL) /usr/src/redhat/SOURCES"

	for s in $(SPECS); do \
	  (su -c "cd build; rpm -bb $$s") \
	done;