[Mockpp-commits] mockpp/mockpp/examples/tutorial Makefile.am,1.21,1.22
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-05-07 12:44:42
|
Update of /cvsroot/mockpp/mockpp/mockpp/examples/tutorial In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7591/mockpp/examples/tutorial Modified Files: Makefile.am Log Message: create rpms Index: Makefile.am =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/Makefile.am,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- Makefile.am 30 Mar 2005 18:17:30 -0000 1.21 +++ Makefile.am 7 May 2005 12:44:33 -0000 1.22 @@ -73,4 +73,18 @@ basicmock_SOURCES = basicmock.cpp consumer.cpp +################################################################# + +htmldir = $(pkgdatadir)/html + +install-data-hook: + $(mkdir_p) $(htmldir)/tutorial + cp -pR html $(htmldir)/tutorial + +# Automake's "distcheck" is sensitive to having files left over +# after "make uninstall", so we have to clean up the install hook. +uninstall-local: + rm -rf $(htmldir) + +################################################################# |