File: Makefile.in

package info (click to toggle)
gretl 0.99.2-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 7,304 kB
  • ctags: 3,210
  • sloc: ansic: 43,338; sh: 6,567; makefile: 807; perl: 529
file content (45 lines) | stat: -rw-r--r-- 1,263 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
topsrc = ..

prefix = @prefix@

gretldir = $(prefix)/share/gretl
tooldir = $(topsrc)/tools
INSTALL_DATA = cp -fp

.PHONY :

all: install

install: installdirs install_datafiles install_scripts
	$(INSTALL_DATA) gretl.stamp $(gretldir)/gretl.stamp
	$(INSTALL_DATA) gretl.hlp $(gretldir)/gretl.hlp
	$(INSTALL_DATA) gretlcli.hlp $(gretldir)/gretlcli.hlp
	$(INSTALL_DATA) bcih/README $(gretldir)/db/README
	$(INSTALL_DATA) bcih/bcih.bin $(gretldir)/db/bcih.bin
	$(INSTALL_DATA) bcih/bcih.idx $(gretldir)/db/bcih.idx

install-strip: install

install_datafiles:
	for f in data/d* ; do \
	$(INSTALL_DATA) $$f $(gretldir)/data ; done 
	for f in data/greene/* ; do \
	$(INSTALL_DATA) $$f $(gretldir)/data/greene ; done

install_scripts:
	for f in scripts/* ; do \
	$(INSTALL_DATA) $$f $(gretldir)/scripts ; done

install_man: gretl.1
	$(tooldir)/mkinstalldirs $(prefix)/share/man/man1
	$(INSTALL_DATA) gretl.1 $(prefix)/share/man/man1

install-help:
	$(tooldir)/mkinstalldirs $(gretldir)
	$(INSTALL_DATA) gretl.hlp $(gretldir)/gretl.hlp
	$(INSTALL_DATA) gretlcli.hlp $(gretldir)/gretlcli.hlp

installdirs:
	$(tooldir)/mkinstalldirs $(gretldir) $(gretldir)/data 
	$(tooldir)/mkinstalldirs $(gretldir)/data/greene
	$(tooldir)/mkinstalldirs $(gretldir)/scripts $(gretldir)/db