File: Makefile.in

package info (click to toggle)
ocaml-taglib 0.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 632 kB
  • sloc: sh: 3,262; cpp: 454; ml: 404; makefile: 95
file content (29 lines) | stat: -rw-r--r-- 750 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PROGNAME := ocaml-taglib
DISTFILES := @AUTOCONF_INSTALL_FILES@ CHANGES COPYING Makefile.in README.md \
	bootstrap configure configure.ac  config.h.in \
	src/*.ml src/*.mli src/*.cc src/Makefile.in src/META.in \
	src/OCamlMakefile \
	examples/*/Makefile examples/*/OCamlMakefile examples/*/*.ml
VERSION = @VERSION@

all clean install uninstall:
	$(MAKE) -C src $@

distclean: clean
	$(MAKE) -C examples clean

doc:
	$(MAKE) -C src htdoc
	mkdir -p doc
	rm -rf doc/html
	mv src/doc/taglib/html doc
	rm -rf src/doc

dist:
	rm -rf $(PROGNAME)-$(VERSION)
	mkdir $(PROGNAME)-$(VERSION)
	cp -R -L --parents $(DISTFILES) $(PROGNAME)-$(VERSION)
	tar zcvf ../$(PROGNAME)-$(VERSION).tar.gz $(PROGNAME)-$(VERSION)
	rm -rf $(PROGNAME)-$(VERSION)

.PHONY: dist doc