mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
(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:
parent
281e66706f
commit
a29076edcd
1 changed files with 18 additions and 2 deletions
|
@ -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 *~
|
||||
|
|
Loading…
Reference in a new issue