2003-01-05 23:00:23 +08:00
|
|
|
SHELL = /bin/sh
|
2024-12-26 20:27:34 +08:00
|
|
|
TXT2MAN = $(srcdir)/txt2man
|
2003-01-05 23:00:23 +08:00
|
|
|
PRODUCT = MDBTools
|
|
|
|
|
2013-07-04 19:22:52 +08:00
|
|
|
dist_man_MANS =
|
|
|
|
if ENABLE_MAN
|
2021-03-24 03:53:43 +08:00
|
|
|
dist_man_MANS += mdb-tables.1 mdb-ver.1 mdb-export.1 mdb-schema.1 \
|
2020-10-21 18:48:20 +08:00
|
|
|
mdb-array.1 mdb-header.1 mdb-hexdump.1 mdb-parsecsv.1 mdb-prop.1 mdb-import.1 \
|
|
|
|
mdb-count.1 mdb-json.1 mdb-queries.1
|
2021-03-24 03:53:43 +08:00
|
|
|
if SQL
|
|
|
|
dist_man_MANS += mdb-sql.1
|
|
|
|
endif
|
2013-07-04 19:22:52 +08:00
|
|
|
endif
|
2020-12-04 22:14:12 +08:00
|
|
|
CLEANFILES = ${dist_man_MANS}
|
2021-03-24 03:53:43 +08:00
|
|
|
EXTRA_DIST = mdb-tables.txt mdb-ver.txt mdb-export.txt mdb-schema.txt \
|
2014-12-29 20:10:01 +08:00
|
|
|
mdb-array.txt mdb-header.txt mdb-hexdump.txt mdb-parsecsv.txt mdb-prop.txt mdb-import.txt \
|
2020-10-21 18:48:20 +08:00
|
|
|
mdb-count.txt mdb-json.txt mdb-queries.txt \
|
2020-12-04 22:14:12 +08:00
|
|
|
txt2man
|
2021-03-24 03:53:43 +08:00
|
|
|
if SQL
|
|
|
|
EXTRA_DIST += mdb-sql.txt
|
|
|
|
endif
|
2003-01-05 23:00:23 +08:00
|
|
|
|
2011-10-22 20:54:32 +08:00
|
|
|
.txt.1:
|
2013-07-04 19:22:52 +08:00
|
|
|
$(TXT2MAN) -t $* -r "$(PRODUCT) $(VERSION)" -s 1 -v "Executable programs or shell commands" $(srcdir)/$< > $@
|