Subversion Repositories hepmc

Rev

Rev 35 | Rev 62 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7 garren 1
# This makefile is used to copy files during the "make install" step
2
 
3
if USE_GMAKE
4
  MAKE = gmake
5
endif
6
 
52 garren 7
INSTALLDIR = @prefix@/examples/@PACKAGE@
8
 
7 garren 9
# files to distribute
10
EXTRA_DIST = \
11
    example_BuildEventFromScratch.cc \
12
    example_EventSelection.cc \
13
    example_MyHerwig.cc \
14
    example_MyPythia.cc \
15
    example_MyPythiaOnlyToHepMC.cc \
16
    example_MyPythiaWithEventSelection.cc \
35 garren 17
    example_PythiaParticle.cc	\
7 garren 18
    example_ReadPDGtable.cc \
19
    example_UsingIterators.cc \
20
    initpydata.f \
21
    example_UsingIterators.txt \
22
    PDG_ParticleDataTable.txt
23
 
24
install-data-local:
52 garren 25
	$(mkinstalldirs) $(DESTDIR)$(INSTALLDIR)
26
	$(INSTALL_DATA) GNUmakefile.example $(DESTDIR)$(INSTALLDIR)/GNUmakefile
7 garren 27
	for file in $(EXTRA_DIST); do \
52 garren 28
	  $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(INSTALLDIR)/$$file; done