Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[fb7fe6]: doc / Makefile.in Maximize Restore History

Download this file

Makefile.in    44 lines (36 with data), 939 Bytes

 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
32
33
34
35
36
37
38
39
40
41
42
43
RM=rm
CP=cp
prefix=$(DESTDIR)@prefix@
MANDIR=@mandir@/man1
CATDIR=@mandir@/cat1
DOCDIR=$(prefix)/doc/oprofile-@VERSION@
LN_SF=ln -sf
MKDIR=mkdir
MKDIR_P=mkdir -p
XSLTPROC=xsltproc
LINK_LIST=oprofiled.1 op_start.1 op_stop.1 op_help.1 oprofpp.1 op_time.1 op_to_source.1 op_merge.1
.PHONY: all clean install uninstall
all: oprofile.html
oprofile.html: oprofile.xml
$(XSLTPROC) xsl/xhtml.xsl $< > $@
chunk: oprofile.xml
$(XSLTPROC) xsl/xhtml-chunk.xsl $<
install: all
-$(MKDIR_P) $(MANDIR)
cp oprofile.1 $(MANDIR)/oprofile.1
@for f in $(LINK_LIST); do \
$(RM) -f $(MANDIR)/$$f; \
echo ".so man1/oprofile.1" > $(MANDIR)/$$f; \
done
@echo "Installing html doc in $(DOCDIR)"
@$(MKDIR_P) $(DOCDIR)
@cp -R *.html $(DOCDIR)
uninstall:
rm -f $(MANDIR)/oprofile.1
rm -f @mandir@/cat1/oprofile.1.gz
@for f in $(LINK_LIST); do \
rm -f $(MANDIR)/$$f; \
rm -f $(CATDIR)/cat1/$$f.gz; \
done
-$(RM) -rf $(DOCDIR)
clean: