Changeset 10714


Ignore:
Timestamp:
May 13, 2011, 8:16:03 PM (9 years ago)
Author:
tbretz
Message:
Some small simplifications.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/Makefile.am

    r10693 r10714  
    169169        src/DimDescriptionService.cc \
    170170        \
    171         src/Connection.h      src/Connection.cc
     171        src/Connection.h      src/Connection.cc \
     172        \
     173        FACT.h ByteOrder.h
    172174
    173175
     
    295297#-------------------------------------------------------------------------
    296298
    297 MAN_TARGETS =
    298 
    299 if HAS_HELP2MAN
     299MAN_TARGETS = $(dist_man1_MANS)
     300
     301if HAS_GROFF
     302
     303MAN_TARGETS += $(dist_man1_MANS:.man=.html)
     304EXTRA_DIST  += $(dist_man1_MANS:.man=.html)
     305CLEANFILES  += $(dist_man1_MANS:.man=.html)
     306
     307if HAS_PS2PDF
     308
     309MAN_TARGETS += $(dist_man1_MANS:.man=.pdf)
     310EXTRA_DIST  += $(dist_man1_MANS:.man=.pdf)
     311CLEANFILES  += $(dist_man1_MANS:.man=.pdf)
     312endif
     313
     314endif
     315
    300316$(dist_man1_MANS): $(dist_man1_MANS:.man=)
    301317        @mkdir -p man
    302318        $(AM_V_GEN)help2man -N -o $@ -m $(@:.man=) ./$(@:.man=)
    303319
    304 MAN_TARGETS   += $(dist_man1_MANS)
    305 endif
    306 
    307 if HAS_GROFF
    308 
    309320.man.html: $<
    310321        $(AM_V_GEN)groff -mandoc `man -w -l $<` -T html > $@
    311322
    312 MAN_TARGETS += $(dist_man1_MANS:.man=.html)
    313 EXTRA_DIST  += $(dist_man1_MANS:.man=.html)
    314 CLEANFILES  += $(dist_man1_MANS:.man=.html)
    315 
    316 if HAS_PS2PDF
    317323.man.pdf: $<
    318324        $(AM_V_GEN)groff -mandoc `man -w -l $<` | ps2pdf - $@
    319 
    320 MAN_TARGETS += $(dist_man1_MANS:.man=.pdf)
    321 EXTRA_DIST  += $(dist_man1_MANS:.man=.pdf)
    322 CLEANFILES  += $(dist_man1_MANS:.man=.pdf)
    323 endif
    324 
    325 endif
    326325
    327326man: $(MAN_TARGETS) doxygen-doc
Note: See TracChangeset for help on using the changeset viewer.