Create/remove default include directory.

The default include directory is created at install time and removed
if possible when uninstalling.
This commit is contained in:
Cary R 2007-12-31 11:04:35 -08:00 committed by Stephen Williams
parent 6476be462e
commit 9fd7c008f3
1 changed files with 2 additions and 1 deletions

View File

@ -262,7 +262,7 @@ endif
installdirs: mkinstalldirs
$(srcdir)/mkinstalldirs $(bindir) $(includedir) $(libdir)/ivl \
$(mandir) $(mandir)/man1
$(libdir)/ivl/include $(mandir) $(mandir)/man1
uninstall:
for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
@ -270,6 +270,7 @@ uninstall:
do (cd $$dir ; $(MAKE) $@); done
for f in xnf.conf xnf-s.conf ivl@EXEEXT@; \
do rm -f $(libdir)/ivl/$$f; done
-rmdir $(libdir)/ivl/include
-rmdir $(libdir)/ivl
for f in verilog iverilog-vpi gverilog@EXEEXT@; \
do rm -f $(bindir)/$$f; done