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 ...@@ -6,28 +6,13 @@ MODULE = none
EXTRASUBDIRS = samples EXTRASUBDIRS = samples
MAN_TARGETS = wine.man
all: $(MAN_TARGETS)
@MAKE_RULES@ @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:: install-api-man::
$(MKINSTALLDIRS) $(mandir)/man$(api_manext) $(MKINSTALLDIRS) $(mandir)/man$(api_manext)
for i in man$(api_manext)/*; do $(INSTALL_DATA) $$i $(mandir)/man$(api_manext); done for i in man$(api_manext)/*; do $(INSTALL_DATA) $$i $(mandir)/man$(api_manext); done
clean:: clean::
$(RM) $(MAN_TARGETS)
$(RM) -r html api-guide man$(api_manext) $(RM) -r html api-guide man$(api_manext)
### Dependencies: ### Dependencies:
...@@ -4,3 +4,4 @@ wine-glibc ...@@ -4,3 +4,4 @@ wine-glibc
wine-kthread wine-kthread
wine-preloader wine-preloader
wine-pthread wine-pthread
wine.man
...@@ -17,7 +17,9 @@ PTHREAD_OBJS = pthread.o main.o ...@@ -17,7 +17,9 @@ PTHREAD_OBJS = pthread.o main.o
WINE_BINARIES = @WINE_BINARIES@ WINE_BINARIES = @WINE_BINARIES@
MAIN_BINARY = @MAIN_BINARY@ MAIN_BINARY = @MAIN_BINARY@
all: $(WINE_BINARIES) $(MODULE) MAN_TARGETS = wine.man
all: $(WINE_BINARIES) $(MODULE) $(MAN_TARGETS)
@MAKE_RULES@ @MAKE_RULES@
...@@ -39,19 +41,24 @@ wine-pthread: $(PTHREAD_OBJS) Makefile.in ...@@ -39,19 +41,24 @@ wine-pthread: $(PTHREAD_OBJS) Makefile.in
$(MODULE): $(MAIN_BINARY) $(MODULE): $(MAIN_BINARY)
$(RM) $(MODULE) && $(LN_S) $(MAIN_BINARY) $(MODULE) $(RM) $(MODULE) && $(LN_S) $(MAIN_BINARY) $(MODULE)
install:: $(WINE_BINARIES) wine.man: wine.man.in
$(MKINSTALLDIRS) $(bindir) 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 \ for f in $(WINE_BINARIES); do \
if [ "$(MAIN_BINARY)" = "$$f" ]; \ if [ "$(MAIN_BINARY)" = "$$f" ]; \
then $(INSTALL_PROGRAM) $$f $(bindir)/$(MODULE); \ then $(INSTALL_PROGRAM) $$f $(bindir)/$(MODULE); \
else $(INSTALL_PROGRAM) $$f $(bindir)/$$f; \ else $(INSTALL_PROGRAM) $$f $(bindir)/$$f; \
fi; \ fi; \
done done
$(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext)
uninstall:: uninstall::
-cd $(bindir) && $(RM) $(WINE_BINARIES) $(MODULE) -cd $(bindir) && $(RM) $(WINE_BINARIES) $(MODULE)
$(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext)
clean:: clean::
$(RM) $(WINE_BINARIES) $(MODULE) $(RM) $(WINE_BINARIES) $(MODULE) $(MAN_TARGETS)
### Dependencies: ### 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