VirtualBox

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

Last change on this file since 43391 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
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
Note: See TracBrowser for help on using the repository browser.

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