Commit 8dd4ee76 authored by Alexandre Julliard's avatar Alexandre Julliard

Moved the wine manpage to the loader/ directory.

parent 57b5615f
......@@ -6,28 +6,13 @@ MODULE = none
EXTRASUBDIRS = samples
MAN_TARGETS = wine.man
all: $(MAN_TARGETS)
@MAKE_RULES@
wine.man: wine.man.in
sed -e 's,@bindir\@,$(bindir),g' -e 's,@dlldir\@,$(dlldir),g' -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/wine.man.in >$@ || ($(RM) $@ && false)
install:: $(MAN_TARGETS)
$(MKINSTALLDIRS) $(mandir)/man$(prog_manext)
$(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext)
uninstall::
$(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext)
install-api-man::
$(MKINSTALLDIRS) $(mandir)/man$(api_manext)
for i in man$(api_manext)/*; do $(INSTALL_DATA) $$i $(mandir)/man$(api_manext); done
clean::
$(RM) $(MAN_TARGETS)
$(RM) -r html api-guide man$(api_manext)
### Dependencies:
......@@ -4,3 +4,4 @@ wine-glibc
wine-kthread
wine-preloader
wine-pthread
wine.man
......@@ -17,7 +17,9 @@ PTHREAD_OBJS = pthread.o main.o
WINE_BINARIES = @WINE_BINARIES@
MAIN_BINARY = @MAIN_BINARY@
all: $(WINE_BINARIES) $(MODULE)
MAN_TARGETS = wine.man
all: $(WINE_BINARIES) $(MODULE) $(MAN_TARGETS)
@MAKE_RULES@
......@@ -39,19 +41,24 @@ wine-pthread: $(PTHREAD_OBJS) Makefile.in
$(MODULE): $(MAIN_BINARY)
$(RM) $(MODULE) && $(LN_S) $(MAIN_BINARY) $(MODULE)
install:: $(WINE_BINARIES)
$(MKINSTALLDIRS) $(bindir)
wine.man: wine.man.in
sed -e 's,@bindir\@,$(bindir),g' -e 's,@dlldir\@,$(dlldir),g' -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/wine.man.in >$@ || ($(RM) $@ && false)
install:: $(WINE_BINARIES) $(MAN_TARGETS)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
for f in $(WINE_BINARIES); do \
if [ "$(MAIN_BINARY)" = "$$f" ]; \
then $(INSTALL_PROGRAM) $$f $(bindir)/$(MODULE); \
else $(INSTALL_PROGRAM) $$f $(bindir)/$$f; \
fi; \
done
$(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext)
uninstall::
-cd $(bindir) && $(RM) $(WINE_BINARIES) $(MODULE)
$(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext)
clean::
$(RM) $(WINE_BINARIES) $(MODULE)
$(RM) $(WINE_BINARIES) $(MODULE) $(MAN_TARGETS)
### Dependencies:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment