@@ -21,19 +21,7 @@ OBJS = backup.o \
2121pgut/pgut.o\
2222pgut/pgut-port.o
2323
24- DOCS = doc/pg_arman.txt
25-
26- EXTRA_CLEAN = datapagemap.c datapagemap.h xlogreader.c
27-
28- # asciidoc and xmlto are present, so install the html documentation and man
29- # pages as well. html is part of the vanilla documentation. Man pages need a
30- # special handling at installation.
31- ifneq ($(ASCIIDOC ) ,)
32- ifneq ($(XMLTO ) ,)
33- man_DOCS = doc/pg_arman.1
34- DOCS += doc/pg_arman.html doc/README.html
35- endif # XMLTO
36- endif # ASCIIDOC
24+ EXTRA_CLEAN = datapagemap.c datapagemap.h xlogreader.c receivelog.h streamutil.h
3725
3826PG_CPPFLAGS = -I$(libpq_srcdir ) ${PTHREAD_CFLAGS}
3927override CPPFLAGS := -DFRONTEND$(CPPFLAGS )
@@ -74,29 +62,3 @@ PG_CONFIG = pg_config
7462PGXS :=$(shell $(PG_CONFIG ) --pgxs)
7563include $(PGXS )
7664
77- # Part related to documentation
78- # Compile documentation as well is ASCIIDOC and XMLTO are defined
79- ifneq ($(ASCIIDOC ) ,)
80- ifneq ($(XMLTO ) ,)
81- docs :
82- $(MAKE ) -C doc/
83-
84- # Special handling for man pages, they need to be in a dedicated folder
85- install : install-man
86-
87- install-man :
88- $(MKDIR_P ) ' $(DESTDIR)$(mandir)/man1/'
89- $(INSTALL_DATA ) $(man_DOCS ) ' $(DESTDIR)$(mandir)/man1/'
90- else
91- docs :
92- @echo" No docs to build"
93- endif # XMLTO
94- else
95- docs :
96- @echo" No docs to build"
97- endif # ASCIIDOC
98-
99- # Clean up documentation as well
100- clean : clean-docs
101- clean-docs :
102- $(MAKE ) -C doc/ clean