Last change
on this file since 79065 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 |
|
---|
8 | MOD_DEPTH = ../..
|
---|
9 | topsrcdir = @top_srcdir@
|
---|
10 | srcdir = @srcdir@
|
---|
11 | VPATH = @srcdir@
|
---|
12 |
|
---|
13 | NAME = sun-nspr
|
---|
14 | RELEASE = 1
|
---|
15 | TOPDIR = /usr/src/redhat
|
---|
16 | VERSION = `grep PR_VERSION $(dist_includedir)/prinit.h \
|
---|
17 | | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//'`
|
---|
18 |
|
---|
19 | include $(MOD_DEPTH)/config/autoconf.mk
|
---|
20 |
|
---|
21 | publish:
|
---|
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 |
|
---|
41 | clean:
|
---|
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.