/[dejagnu]/dejagnu/Makefile.am
ViewVC logotype

Diff of /dejagnu/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by bje, Tue Aug 12 04:27:23 2003 UTC revision 1.17 by bje, Sun Aug 17 23:18:17 2003 UTC
# Line 11  bin_SCRIPTS = runtest Line 11  bin_SCRIPTS = runtest
11  # Install the main DejaGnu expect file in the datadir  # Install the main DejaGnu expect file in the datadir
12  pkgdata_SCRIPTS = runtest.exp  pkgdata_SCRIPTS = runtest.exp
13    
14  # Install config.guess too, so we can use it to figure out  # Install config.guess too, so we can use it to figure out what type
15  # what type of machine we're running on.  # of machine we're running on.
16  libexecdir = $(pkgdatadir)/libexec  libexecdir = $(pkgdatadir)/libexec
17  libexec_SCRIPTS = config.guess  libexec_SCRIPTS = config.guess
18    
# Line 31  CLEANFILES = x.log x.sum site.bak setval Line 31  CLEANFILES = x.log x.sum site.bak setval
31  check-DEJAGNU:  check-DEJAGNU:
32          cd testsuite ; $(MAKE) check          cd testsuite ; $(MAKE) check
33          cd example ; $(MAKE) check          cd example ; $(MAKE) check
 #       @echo "Do nothing here, cause we don't want to run the tests twice"  
34    
35  # Since we don't use SUBDIRS, we have to manually clean the sub directories.  # Since we don't use SUBDIRS, we have to manually clean the
36  # We don't use SUBDIRS, so the excample or test cases don't get built  # subdirectories. We don't use SUBDIRS, so the example or test cases
37  # by default for a "make all".  # don't get built by default for a "make all".
38  clean-local:  clean-local:
39          cd doc       ; $(MAKE) clean          cd doc       ; $(MAKE) clean
40          cd testsuite ; $(MAKE) clean          cd testsuite ; $(MAKE) clean
# Line 78  snapshot: Line 77  snapshot:
77  rpmspec: $(srcdir)/packaging/rpm/dejagnu.spec  rpmspec: $(srcdir)/packaging/rpm/dejagnu.spec
78          cp -f $(srcdir)/packaging/rpm/dejagnu.spec /usr/src/redhat/SPECS/          cp -f $(srcdir)/packaging/rpm/dejagnu.spec /usr/src/redhat/SPECS/
79    
80  # this builds an RPM package  # Build an RPM package
81  rpm: tarball rpmspec  rpm: tarball rpmspec
82          cp -f ../$(distdir).tar.gz /usr/src/redhat/SOURCES/          cp -f ../$(distdir).tar.gz /usr/src/redhat/SOURCES/
83          rpm -ba /usr/src/redhat/SPECS/dejagnu.spec          rpm -ba /usr/src/redhat/SPECS/dejagnu.spec
84    
85  # this builds a Debian Linux style deb package.  # Build a Debian deb package
86  deb: overview.html overview.ps overview.pdf  deb: overview.html overview.ps overview.pdf
87          -rm -fr dejagnu-${VERSION}          -rm -fr dejagnu-${VERSION}
88          cp -fpr $(srcdir) dejagnu-${VERSION}          cp -fpr $(srcdir) dejagnu-${VERSION}
# Line 99  deb: overview.html overview.ps overview. Line 98  deb: overview.html overview.ps overview.
98          -cp -fr doc/overview.rtf dejagnu-${VERSION}/doc/;          -cp -fr doc/overview.rtf dejagnu-${VERSION}/doc/;
99          (cd dejagnu-${VERSION}; dpkg-buildpackage)          (cd dejagnu-${VERSION}; dpkg-buildpackage)
100    
101  # this builds a Solaris style pkg package.  # Build a Solaris package
102  solpkg: $(srcdir)/packaging/pkg/prototype  solpkg: $(srcdir)/packaging/pkg/prototype
103          if test ! -d $(PKGDIR)/dejagnu; then \          if test ! -d $(PKGDIR)/dejagnu; then \
104            rm -fr dejagnu-${VERSION}; \            rm -fr dejagnu-${VERSION}; \
# Line 117  solpkg: $(srcdir)/packaging/pkg/prototyp Line 116  solpkg: $(srcdir)/packaging/pkg/prototyp
116            gzip -9fv  $$here/dejagnu-${VERSION}.SPARC.2.8.pkg.tar            gzip -9fv  $$here/dejagnu-${VERSION}.SPARC.2.8.pkg.tar
117          rm -fr /tmp/prototype /tmp/pkginfo /tmp/DejaGnu          rm -fr /tmp/prototype /tmp/pkginfo /tmp/DejaGnu
118    
119  # this builds a HPUX style depot file  # Build a HP depot package
120  hpdepot: # $(srcdir)/packaging/depot/dejagnu.psf  hpdepot: # $(srcdir)/packaging/depot/dejagnu.psf
121          if test ! -d $(PKGDIR)/dejagnu; then \          if test ! -d $(PKGDIR)/dejagnu; then \
122          rm -fr dejagnu-${VERSION}; \          rm -fr dejagnu-${VERSION}; \
# Line 148  dist-hook: rpmspec overview.html overvie Line 147  dist-hook: rpmspec overview.html overvie
147          -cp -fr doc/overview.ps $(distdir)/doc/          -cp -fr doc/overview.ps $(distdir)/doc/
148          -cp -fr doc/overview.pdf $(distdir)/doc/          -cp -fr doc/overview.pdf $(distdir)/doc/
149    
   
150  # Below, host-independent data files that need to get installed.  # Below, host-independent data files that need to get installed.
151  # We do it this way so we can use globbing.  # We do it this way so we can use globbing.
152    
# Line 158  lib_files = $(srcdir)/*.c $(srcdir)/lib/ Line 156  lib_files = $(srcdir)/*.c $(srcdir)/lib/
156  baseboards_dest = $(DESTDIR)$(pkgdatadir)/baseboards  baseboards_dest = $(DESTDIR)$(pkgdatadir)/baseboards
157  baseboards_files = $(srcdir)/baseboards/README $(srcdir)/baseboards/*.exp  baseboards_files = $(srcdir)/baseboards/README $(srcdir)/baseboards/*.exp
158    
   
159  include_dest = $(DESTDIR)$(includedir)  include_dest = $(DESTDIR)$(includedir)
160  config_dest = $(DESTDIR)$(pkgdatadir)/config  config_dest = $(DESTDIR)$(pkgdatadir)/config
161  config_files = $(srcdir)/config/README $(srcdir)/config/*.exp  config_files = $(srcdir)/config/README $(srcdir)/config/*.exp

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26