home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula
/
nebula.bin
/
SourceCode
/
MiniExamples
/
AskMe
/
Makefile.postamble
< prev
next >
Wrap
Makefile
|
1991-05-05
|
885b
|
30 lines
WRAPPER = $(DSTROOT)$(INSTALLDIR)/$(PRODUCT).app
# Make sure the language-specific subdirectories are installed along with
# the application in the file package.
#
install::
for i in $(LANGUAGE_DIRECTORIES) none ; do \
if [ $$i = none ] ; then continue; fi; \
tar cf - $$i | ( cd $(DSTROOT)$(INSTALLDIR)/$(NAME).app/ ; tar xfp -) ; \
done ;
# The language-specific files have already been installed in SRCROOT,
# but we need to fix their protections (they're set to 0444 by default).
#
installsrc::
for i in $(LANGUAGE_DIRECTORIES) none ; do \
if [ $$i = none ] ; then continue; fi; \
chmod 755 $(SRCROOT)/$$i ; \
done ;
# Extend 'make clean' to remove any backup files (those ending with ~) from
# the language subdirectories.
#
clean::
for i in $(LANGUAGE_DIRECTORIES) none ; do \
if [ $$i = none ] ; then continue; fi; \
/bin/rm -f $$i/*~ ; \
done ;