libwine: Avoid writing to repository during install.
This commit is contained in:
parent
e7a27694b9
commit
d2b13825e4
|
@ -1,4 +1,3 @@
|
|||
*.dylib
|
||||
*.so.*
|
||||
wine/version-stamp
|
||||
wine/version.c
|
||||
|
|
|
@ -176,14 +176,11 @@ uninstall::
|
|||
-cd $(DESTDIR)$(libdir) && $(RM) libwine.a libwine.dll libwine.so libwine.so.$(VERSION) \
|
||||
libwine.so.$(SOVERSION) libwine.dylib libwine.$(VERSION).dylib libwine.$(SOVERSION).dylib
|
||||
|
||||
version-stamp: dummy
|
||||
(GIT_DIR=$(TOPSRCDIR)/.git git describe HEAD 2>/dev/null || echo "wine-@PACKAGE_VERSION@") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1";/p' >$@ || ($(RM) $@ && exit 1)
|
||||
|
||||
version.c: version-stamp
|
||||
@cmp -s version-stamp $@ || cp version-stamp $@
|
||||
version.c: dummy
|
||||
version=`(GIT_DIR=$(TOPSRCDIR)/.git git describe HEAD 2>/dev/null || echo "wine-@PACKAGE_VERSION@") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $$version | cmp -s - $@) || echo $$version >$@ || ($(RM) $@ && exit 1)
|
||||
|
||||
clean::
|
||||
$(RM) libwine.so.$(SOVERSION) libwine.so.$(VERSION) version.c version-stamp
|
||||
$(RM) libwine.so.$(SOVERSION) libwine.so.$(VERSION) version.c
|
||||
|
||||
$(RELPATH):
|
||||
@cd $(TOOLSDIR)/tools && $(MAKE) relpath
|
||||
|
|
Loading…
Reference in New Issue