Skip to content

Commit 5b4e5ac

Browse files
committed
Clean asciidoc.
1 parent 5ee1aaf commit 5b4e5ac

File tree

1 file changed

+1
-39
lines changed

1 file changed

+1
-39
lines changed

Makefile

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,7 @@ OBJS = backup.o \
2121
pgut/pgut.o \
2222
pgut/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

3826
PG_CPPFLAGS = -I$(libpq_srcdir) ${PTHREAD_CFLAGS}
3927
override CPPFLAGS := -DFRONTEND $(CPPFLAGS)
@@ -74,29 +62,3 @@ PG_CONFIG = pg_config
7462
PGXS := $(shell $(PG_CONFIG) --pgxs)
7563
include $(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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy