4 # (c) Drotos Daniel, Talker Bt. 1997
15 exec_prefix = @exec_prefix@
19 includedir = @includedir@
21 man1dir = $(mandir)/man1
22 man2dir = $(mandir)/man2
25 #docdir = $(prefix)/share/doc/ucsim
26 docdir = @docdir@/ucsim
29 # Compiling entire program or any subproject
30 # ------------------------------------------
35 # Compiling and installing everything and runing test
36 # ---------------------------------------------------
37 install: all installdirs
38 cp *.html $(DESTDIR)$(docdir)
39 cp *.gif $(DESTDIR)$(docdir)
40 cp *.jpg $(DESTDIR)$(docdir)
41 cp *.fig $(DESTDIR)$(docdir)
44 # Deleting all the installed files
45 # --------------------------------
47 rm -rf $(DESTDIR)$(docdir)
50 # Performing self-test
51 # --------------------
57 # Performing installation test
58 # ----------------------------
62 # Creating installation directories
63 # ---------------------------------
65 test -d $(DESTDIR)$(docdir) || $(INSTALL) -d $(DESTDIR)$(docdir)
68 # Creating dependencies
69 # ---------------------
75 # Remaking configuration
76 # ----------------------
78 @if [ -f $(PRJDIR)/devel ]; then\
79 $(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\
82 # End of s51.src/Makefile.in