File: Makefile.in

package info (click to toggle)
ocaml-lastfm 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 364 kB
  • ctags: 59
  • sloc: ml: 619; makefile: 119; sh: 3
file content (31 lines) | stat: -rw-r--r-- 768 bytes parent folder | download
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
30
31
# $Id: Makefile.in 2660 2006-07-18 17:23:31Z dbaelde $

PROGNAME := ocaml-lastfm
DISTFILES := CHANGES COPYING Makefile.in README \
	bootstrap configure configure.ac \
	src/lastfm.ml src/*lastfm.mli src/Makefile.in src/META.in \
	src/OCamlMakefile src/*.ml.in \
	examples/*.ml examples/Makefile* examples/OCamlMakefile
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/lastfm/html doc
	rm -rf src/doc

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

.PHONY: dist doc