@@ -21,19 +21,7 @@ OBJS = backup.o \
21
21
pgut/pgut.o\
22
22
pgut/pgut-port.o
23
23
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
37
25
38
26
PG_CPPFLAGS = -I$(libpq_srcdir ) ${PTHREAD_CFLAGS}
39
27
override CPPFLAGS := -DFRONTEND$(CPPFLAGS )
@@ -74,29 +62,3 @@ PG_CONFIG = pg_config
74
62
PGXS :=$(shell $(PG_CONFIG ) --pgxs)
75
63
include $(PGXS )
76
64
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