(prefix, datadir, charsetdir, INSTALL_FILES): New variables.

(installdirs, install, uninstall): New targets.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@435 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-06-20 16:06:33 +00:00
parent 281e66706f
commit a29076edcd

View file

@ -27,10 +27,16 @@ SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
prefix = @prefix@
datadir = $(prefix)/share
charsetdir = $(datadir)/NSCharacterSets
#### End of system configuration section. ####
include $(srcdir)/../Makeconf
all:
CHARSET_FILES = \
alphanumCharSet.dat \
controlCharSet.dat \
@ -43,10 +49,20 @@ uppercaseCharSet.dat \
whitespaceCharSet.dat \
whitespaceandnlCharSet.dat
all:
RCS_FILES = Makefile.in
DIST_FILES = $(RCS_FILES) $(CHARSET_FILES) README.CharSet
INSTALL_FILES = $(CHARSET_FILES) README.CharSet
installdirs:
$(srcdir)/../mkinstalldirs $(charsetdir)
install:
for file in $(INSTALL_FILES); do \
$(INSTALL_DATA) $$file $(charsetdir)/$$file ; \
done
uninstall:
for file in $(INSTALL_FILES); do \
rm -f $(charsetdir)/$$file ; \
done
mostlyclean:
rm -f *~