view scripts/strings/Makefile.in @ 6796:59c0c3637633

[project @ 2007-07-25 15:45:04 by jwe]
author jwe
date Wed, 25 Jul 2007 15:45:06 +0000
parents a84de7048629
children 5b00586ccd27
line wrap: on
line source

#
# Makefile for octave's scripts/strings directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering

TOPDIR = ../..

script_sub_dir = strings

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

include $(TOPDIR)/Makeconf

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

SOURCES = base2dec.m bin2dec.m blanks.m deblank.m dec2base.m \
  dec2bin.m dec2hex.m findstr.m hex2dec.m index.m isletter.m \
  lower.m mat2str.m rindex.m split.m str2double.m str2mat.m \
  str2num.m strcat.m strcmpi.m strfind.m strjust.m strmatch.m \
  strncmpi.m strrep.m strtok.m strtrunc.m strvcat.m substr.m upper.m

DISTFILES = $(addprefix $(srcdir)/,Makefile.in $(SOURCES))

FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES))
FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))

all: PKG_ADD
.PHONY: all

install install-strip:
	$(do-script-install)
.PHONY: install install-strip

uninstall:
	$(do-script-uninstall)
.PHONY: uninstall

clean:
.PHONY: clean

PKG_ADD: $(FCN_FILES)
	@echo "making PKG_ADD"
	@$(do-mkpkgadd)

tags: $(SOURCES)
	ctags $(SOURCES)

TAGS: $(SOURCES)
	etags $(SOURCES)

mostlyclean: clean
.PHONY: mostlyclean

distclean: clean
	rm -f Makefile PKG_ADD
.PHONY: distclean

maintainer-clean: distclean
	rm -f tags TAGS
.PHONY: maintainer-clean

dist:
	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/strings
.PHONY: dist