VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/nsprpub/pkg/linux/Makefile.in@ 89890

最後變更 在這個檔案從89890是 1,由 vboxsync 提交於 55 年 前

import

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.2 KB
 
1#
2# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
3# Use is subject to license terms.
4#
5#ident "$Id: Makefile.in 1 1970-01-01 00:00:00Z vboxsync $"
6#
7
8MOD_DEPTH = ../..
9topsrcdir = @top_srcdir@
10srcdir = @srcdir@
11VPATH = @srcdir@
12
13NAME = sun-nspr
14RELEASE = 1
15TOPDIR = /usr/src/redhat
16VERSION = `grep PR_VERSION $(dist_includedir)/prinit.h \
17 | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//'`
18
19include $(MOD_DEPTH)/config/autoconf.mk
20
21publish:
22 $(MAKE) clean
23 mkdir -p usr/lib/mps
24 cp -L $(MOD_DEPTH)/dist/lib/* usr/lib/mps
25 mkdir -p usr/include/mps
26 cp -Lr $(MOD_DEPTH)/dist/include/* usr/include/mps
27 tar czvf $(NAME)-$(VERSION).tar.gz usr
28 echo "%define name $(NAME)" >$(NAME).spec
29 echo "%define version $(VERSION)" >>$(NAME).spec
30 echo "%define release $(RELEASE)" >>$(NAME).spec
31
32 cat $(srcdir)/$(NAME).spec >>$(NAME).spec
33 cp $(NAME)-$(VERSION).tar.gz $(TOPDIR)/SOURCES
34 rpm -ba $(NAME).spec
35 if [ ! -d RPMS ] ; then mkdir -p RPMS ; fi
36 if [ ! -d SRPMS ] ; then mkdir -p SRPMS ; fi
37 cp -v $(TOPDIR)/RPMS/i386/$(NAME)-$(VERSION)-* RPMS
38 cp -v $(TOPDIR)/RPMS/i386/$(NAME)-devel-$(VERSION)-* RPMS
39 cp -v $(TOPDIR)/SRPMS/$(NAME)-$(VERSION)-* SRPMS
40
41clean:
42 rm -rf $(TOPDIR)/BUILD/$(NAME)
43 rm -rf RPMS SRPMS usr
44 rm -f $(NAME)-$(VERSION).tar.gz
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette