automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Probem with docdir sudirectory


From: Sergio Belkin
Subject: Probem with docdir sudirectory
Date: Thu, 20 Jan 2011 11:39:04 -0300

Hi,

I have a file into subdirectory of docdir that is not installed

make distcheck complains saying:

No rule to make target `doc/tests/exampleConf.txt', necesario para `all-am'.

the Makefile.am is as follows:

ACLOCAL_AMFLAGS= -I m4 --install
lib_LTLIBRARIES = libUpTools.la
libUpTools_la_SOURCES = UpLog.cc \
        UpLine.cc \
        UpThread.cc \
        UpThreadWorkDistributor.cc \
        UpInet.cc \
        UpDnsBase.cc \
        UpResolver.cc \
        UpResolverSimple.cc \
        UpDnsQuery.cc \
        UpDnsQuerySimple.cc \
        UpRegex.cc \
        UpConf.cc \
        UpLinkable.cc \
        UpOp.cc \
        UpTimeVal.cc \
        UpTimerManager.cc \
        UpSubstitute.cc \
        UpNaptrQuery.cc \
        UpSql.cc \
        UpSqlConnPool.cc
pkginclude_HEADERS = include/UpTools/ci_string.h \
        include/UpTools/UpArch.h \
        include/UpTools/UpBuf.h \
        include/UpTools/UpCondition.h \
        include/UpTools/UpConf.h \
        include/UpTools/UpDnsBase.h \
        include/UpTools/UpDnsBase.inl \
        include/UpTools/UpHashMap.h \
        include/UpTools/UpInet.h \
        include/UpTools/UpInet.inl \
        include/UpTools/UpLine.h \
        include/UpTools/UpLog.h \
        include/UpTools/UpLog.inl \
        include/UpTools/UpNaptrQuery.h \
        include/UpTools/UpOp.h \
        include/UpTools/UpRegex.h \
        include/UpTools/UpResolver.h \
        include/UpTools/UpResolver.inl \
        include/UpTools/UpResolverSimple.h \
        include/UpTools/UpResolverSimple.inl \
        include/UpTools/UpSelect.h \
        include/UpTools/UpSmartLinkPtr.h \
        include/UpTools/UpSmartLinkPtr.inl \
        include/UpTools/UpSubstitute.h \
        include/UpTools/UpThread.h \
        include/UpTools/UpThread.inl \
        include/UpTools/UpThreadSpecific.h \
        include/UpTools/UpThreadSpecific.inl \
        include/UpTools/UpThreadWorkDistributor.h \
        include/UpTools/UpThreadWorkDistributor.inl \
        include/UpTools/UpTimer.h \
        include/UpTools/UpTimerManager.h \
        include/UpTools/UpTimeVal.h \
        include/UpTools/UpTimeVal.inl \
        include/UpTools/UpSql.h \
        include/UpTools/UpSql.inl \
        include/UpTools/UpSqlConnPool.h \
        include/UpTools/UpSqlConnPool.inl
AM_LDFLAGS = -Wl,--as-needed
if experimental
AM_CXXFLAGS=-O3 -ansi -pedantic  -std=c++0x -DUNORDERED_MAP
else
AM_CXXFLAGS=-O3 -ansi  -Wall -Wno-deprecated
endif
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_DEFAULT_SOURCE_EXT = .cc
LDADD = libUpTools.la
if postgresql
libUpTools_la_SOURCES += UpSqlPgsql.cc
pkginclude_HEADERS += include/UpTools/UpSqlPgsql.h \
        include/UpTools/UpSqlPgsql.inl
endif
if mysql
libUpTools_la_SOURCES += UpSqlMysql.cc
pkginclude_HEADERS += include/UpTools/UpSqlMysql.h \
        include/UpTools/UpSqlMysql.inl
endif
if ssl
libUpTools_la_SOURCES += UpSsl1.cc \
        UpSsl2.cc \
        UpSslThreadSafe.cc
pkginclude_HEADERS += include/UpTools/UpSsl.h \
        include/UpTools/UpSsl.inl
endif
CLEANFILES=$(builddir)/testUpLog
EXTRA_PROGRAMS=doc/tests/testUpThreadWorkSplittable \
     doc/tests/testUpDnsRbl \
     doc/tests/testUpThreadSpecificPtr \
     doc/tests/testUpSmartLinkPtr \
     doc/tests/testUpInet \
     doc/tests/testUpAddress2 \
     doc/tests/testUpThread \
     doc/tests/testUpResolver \
     doc/tests/testUpResolverSimple \
     doc/tests/testUpLine \
     doc/tests/testUpConf \
     doc/tests/testUpRegex \
     doc/tests/testUpLog \
     doc/tests/testUpSelect \
     doc/tests/testUpTimer \
     doc/tests/testUpSockAddr \
     doc/tests/testUpTimeVal \
     doc/tests/testUpSockAddrMaps \
     doc/tests/testUpSockAddrMaps2 \
     doc/tests/testUpCondition \
     doc/tests/testUpSubstitute \
     doc/tests/testNaptrAlgorithm2 \
     doc/tests/testNaptrAlgorithm \
     doc/tests/testUpThreadWorkDistributor
if postgresql
EXTRA_PROGRAMS += doc/tests/testUpPgsql
if postgresql_explicit_header
AM_CPPFLAGS += -Iinclude -I/usr/include/postgresql
endif
endif
if mysql
EXTRA_PROGRAMS += doc/tests/testUpMysql
endif
if ssl
EXTRA_PROGRAMS += doc/tests/testUpSslServer
endif
tests: $(EXTRA_PROGRAMS)
docdir = $(datadir)/doc/${PACKAGE}
dist_doc_DATA = doc/README doc/README.FEDORA doc/README.CENTOS
doc/multithreading.intro doc/intro doc/INSTALL
docdir_testsdir = $(docdir)/tests
docdir_tests_DATA = doc/tests/testUpThreadWorkSplittable.cc \
doc/tests/testNaptrAlgorithm.cc \
doc/tests/testUpDnsRbl.cc \
doc/tests/testUpThreadSpecificPtr.cc \
doc/tests/testUpSmartLinkPtr.cc \
doc/tests/testUpInet.cc \
doc/tests/testUpAddress2.cc \
doc/tests/testUpThread.cc \
doc/tests/testUpResolver.cc \
doc/tests/testUpResolverSimple.cc \
doc/tests/testUpLine.cc \
doc/tests/testUpConf.cc doc/tests/exampleConf.txt \
doc/tests/testUpRegex.cc \
doc/tests/testUpLog.cc \
doc/tests/testUpSelect.cc \
doc/tests/testUpTimer.cc \
doc/tests/testUpSockAddr.cc \
doc/tests/testUpTimeVal.cc \
doc/tests/testUpSockAddrMaps.cc \
doc/tests/testUpSockAddrMaps2.cc \
doc/tests/testUpCondition.cc \
doc/tests/testUpSubstitute.cc \
doc/tests/testNaptrAlgorithm2.cc \
doc/tests/testUpThreadWorkDistributor.cc \
doc/tests/testUpPgsql.cc \
doc/tests/testUpMysql.cc \
doc/tests/testUpSslServer.cc
installcheck-local:
        @echo "We will run a manual building against installed $(PACKAGE)"
        @sleep 2
        g++  -Wl,--as-needed -o  testUpLog
$(srcdir)/tests/testUpLog.cc -I$(includedir)  -L$(libdir) -lUpTools
        @echo
        @echo  -e "You can run more tests, issuing:\n g++
-Wl,--as-needed -o binary_filename tests/source_filename -l UpTools"
.PHONY: tests

EOF

Please could you tell me what I am doing wrong?

Thanks in advance!

--
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified



reply via email to

[Prev in Thread] Current Thread [Next in Thread]