source: main/tags/2.60/gsdl/packages/yaz/Makefile.am@ 32915

Last change on this file since 32915 was 1348, checked in by jrm21, 24 years ago

A few minor changes while merging branch to help clean compilation

  • Property svn:keywords set to Author Date Id Revision
File size: 775 bytes
Line 
1AUTOMAKE_OPTIONS = foreign
2
3DIST_SUBDIRS=util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc
4
5SUBDIRS = @SUBDIRS_VAR@
6
7noinst_SCRIPTS = yaz-config
8SPEC_FILE=$(PACKAGE).spec
9EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
10
11yaz-config:
12 @echo "#!/bin/sh" >yaz-config
13 @echo "# YAZ settings for developers" >>yaz-config
14 @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
15 @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
16 @echo "YAZLIB=\"-L`pwd`/lib -lyaz @LIBS@\"" >>yaz-config
17 @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
18 chmod +x yaz-config
19
20dist-hook:
21 mkdir $(distdir)/win
22 -cp $(srcdir)/win/* $(distdir)/win
23
24rpm: $(PACKAGE)-$(VERSION).tar.gz
25 cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
26 rpm -ba $(SPEC_FILE)
Note: See TracBrowser for help on using the repository browser.