Moved the wine manpage to the loader/ directory.

This commit is contained in:
Alexandre Julliard 2005-06-15 10:25:40 +00:00
parent 57b5615fc2
commit 8dd4ee76c4
5 changed files with 12 additions and 20 deletions

View file

@ -1,2 +1 @@
Makefile
wine.man

View file

@ -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:

View file

@ -4,3 +4,4 @@ wine-glibc
wine-kthread
wine-preloader
wine-pthread
wine.man

View file

@ -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: