1 --- makefile.unices 2007-07-20 18:45:48.000000000 +0530
2 +++ makefile.unices 2008-08-03 14:42:45.000000000 +0530
9 exec_prefix = $(prefix)
10 # where to put the executables
11 bindir = $(exec_prefix)/bin
12 -mandir = $(prefix)/man
13 +mandir = $(prefix)/share/man
15 -docdir = $(prefix)/doc/MELTING
16 +docdir = $(prefix)/doc/melting
19 # where to find the files containing the sets of nearest_neighbor parameters.
20 # This one is to initialise the default value of melting.
21 -NNDIR = $(prefix)/share/MELTING/NNFILES
22 +NNDIR = $(prefix)/share/melting/NNFILES
24 #INSTALL = /usr/bin/install -c
27 calcul.o : calcul.c calcul.h
30 - cp melting $(bindir)
31 - cp BIN/tkmelting.pl $(bindir)
32 - cp DOC/melting.1 $(mandir)/man1/melting.1
33 - if test -e $(prefix)/share/MELTING ; then echo '$(prefix)/share/MELTING is already present'; else mkdir $(prefix)/share/MELTING; fi
34 - if test -e $(prefix)/share/MELTING/NNFILES; then echo '$(prefix)/share/MELTING/NNFILES is already present'; else mkdir $(prefix)/share/MELTING/NNFILES; fi
35 - cp NNFILES/*.nn $(NNDIR)/
36 + install -D -m755 melting $(DESTDIR)/$(bindir)/melting
37 + install -D -m755 BIN/tkmelting.pl $(DESTDIR)/$(bindir)/tkmelting.pl
38 + install -D -m644 DOC/melting.1 $(DESTDIR)/$(mandir)/man1/melting.1
39 + if test -e $(DESTDIR)/$(prefix)/share/melting ; then echo '$(prefix)/share/MELTING is already present'; else mkdir $(DESTDIR)/$(prefix)/share/melting; fi
40 + if test -e $(DESTDIR)/$(prefix)/share/melting/NNFILES; then echo '$(prefix)/share/melting/NNFILES is already present'; else mkdir $(DESTDIR)/$(prefix)/share/melting/NNFILES; fi
41 + cp NNFILES/*.nn $(DESTDIR)/$(NNDIR)/