Magellan Linux

Diff of /tags/openglupdate-2_3_0/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 625 by niro, Wed Nov 14 18:51:16 2007 UTC revision 1326 by niro, Mon May 30 18:26:53 2011 UTC
# Line 1  Line 1 
1  # opengl-update - magellanized version  # opengl-update - magellanized version
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/opengl-update/Makefile,v 1.1 2007-11-14 18:51:16 niro Exp $  # $Id$
3    
4  VERSION=$(shell cat VERSION)  VERSION=$(shell cat VERSION)
5  ARCH := $(patsubst i%86,i386,$(shell uname -m))  ARCH := $(patsubst i%86,i386,$(shell uname -m))
# Line 17  DATADIR = $(LIBDIR)/opengl/global Line 17  DATADIR = $(LIBDIR)/opengl/global
17    
18  all:  all:
19   sed 's:@@VERSION@@:$(VERSION):' < opengl-update.sh > opengl-update   sed 's:@@VERSION@@:$(VERSION):' < opengl-update.sh > opengl-update
20     sed 's:@@VERSION@@:$(VERSION):' < dri-update.sh > dri-update
21    
22  install:  install:
23   install -d $(DESTDIR)/$(SBINDIR)   install -d $(DESTDIR)/$(SBINDIR)
24   install -m 0755 opengl-update $(DESTDIR)/$(SBINDIR)/opengl-update   install -m 0755 opengl-update $(DESTDIR)/$(SBINDIR)/opengl-update
25     install -m 0755 dri-update $(DESTDIR)/$(SBINDIR)/dri-update
26    
27   install -d $(DESTDIR)/$(DATADIR)/include   install -d $(DESTDIR)/$(DATADIR)/include
28   install -m 0644 glext.h $(DESTDIR)/$(DATADIR)/include/glext.h   install -m 0644 glext.h $(DESTDIR)/$(DATADIR)/include/glext.h
# Line 33  install: Line 35  install:
35    
36  clean:  clean:
37   rm -f opengl-update   rm -f opengl-update
38     rm -f dri-update
39    
40  .PHONY: all install  .PHONY: all install

Legend:
Removed from v.625  
changed lines
  Added in v.1326