May 5 2007, 07:04 PM
Post
#1
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
How do you package an app up if "grep DESTDIR Makefile" returns nothing?
|
|
|
|
![]() |
May 6 2007, 03:23 PM
Post
#2
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
Sorry if I'm being thick, but I don't see where to add stuff into this (apparently very abnormal) Makefile.
CODE # "$Id: Makefile 1526 2005-02-03 15:11:44Z karijes $"
# # Top-level makefile for the Fast Light Tool Kit (FLTK). # # Copyright 1998-1999 by Bill Spitzak and others. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. # # Please report all bugs and problems to "fltk-bugs@easysw.com". # SHELL=/bin/sh OS_NAME := $(shell uname -s | sed "s/\//-/" | sed "s/_/-/" | sed "s/-.*//g") DIRS = src tools themes efltk locale test GENERATED = makeinclude efltk-config all: $(GENERATED) @for dir in $(DIRS); do\ if test ! -f $$dir/makedepend; then\ touch $$dir/makedepend;\ fi;\ (cd $$dir; $(MAKE) $(MFLAGS)) || exit;\ done static: $(GENERATED) @for dir in $(DIRS); do\ if test ! -f $$dir/makedepend; then\ touch $$dir/makedepend;\ fi;\ (cd $$dir; $(MAKE) $(MFLAGS) static) || exit;\ done shared: $(GENERATED) @for dir in $(DIRS); do\ if test ! -f $$dir/makedepend; then\ touch $$dir/makedepend;\ fi;\ (cd $$dir; $(MAKE) $(MFLAGS) shared) || exit;\ done install: $(GENERATED) @for dir in $(DIRS); do\ if test ! -f $$dir/makedepend; then\ touch $$dir/makedepend;\ fi;\ (cd $$dir; $(MAKE) $(MFLAGS) install) || exit;\ done install_static: $(GENERATED) @for dir in $(DIRS); do\ if test ! -f $$dir/makedepend; then\ touch $$dir/makedepend;\ fi;\ (cd $$dir; $(MAKE) $(MFLAGS) install_static) || exit;\ done install_shared: $(GENERATED) @for dir in $(DIRS); do\ if test ! -f $$dir/makedepend; then\ touch $$dir/makedepend;\ fi;\ (cd $$dir; $(MAKE) $(MFLAGS) install_shared) || exit;\ done install_programs: $(GENERATED) @for dir in $(DIRS); do\ if test ! -f $$dir/makedepend; then\ touch $$dir/makedepend;\ fi;\ (cd $$dir; $(MAKE) $(MFLAGS) install_programs) || exit;\ done depend: $(GENERATED) @for dir in $(DIRS); do\ if test ! -f $$dir/makedepend; then\ touch $$dir/makedepend;\ fi;\ (cd $$dir;$(MAKE) $(MFLAGS) depend) || exit;\ done uninstall: $(GENERATED) @for dir in $(DIRS); do\ (cd $$dir;$(MAKE) $(MFLAGS) uninstall) || exit;\ done clean: -@ rm -f core *~ *.o *.bck @for dir in $(DIRS); do\ (cd $$dir;$(MAKE) $(MFLAGS) clean) || exit;\ done distclean: clean rm -f *~ config.* makeinclude efltk-config ifeq ($(OS_NAME), MINGW32) configure: $(GENERATED): else $(GENERATED): configure makeinclude.in configh.in efltk-config.in ./configure configure: configure.in autoconf endif portable-dist: epm -v efltk native-dist: epm -v -f native efltk # # End of "$Id: Makefile 1526 2005-02-03 15:11:44Z karijes $". # |
|
|
|
May 6 2007, 10:25 PM
Post
#3
|
|
|
Group: Members Posts: 742 Joined: 15-October 05 From: Gulag, Siberia Member No.: 8,322 |
QUOTE(Capn_Fish @ May 6 2007, 11:23 PM) Sorry if I'm being thick, but I don't see where to add stuff into this (apparently very abnormal) Makefile. I downloaded efltk (which is where I presume you got this mess from CODE ./configure --prefix=/usr/local/ Checking the Makefile(s) in the various directories, it seems that the bit which really does the installing is contained in ./src/makeinclude_tmpl, so I would suggest editing that file.Disclaimer: I'm no expert so use your own judgement |
|
|
|
Capn_Fish What Do You Do If There's No Destdir Option? May 5 2007, 07:04 PM
danr QUOTE(Capn_Fish @ May 6 2007, 03:04 AM)How do... May 5 2007, 11:25 PM
Capn_Fish QUOTE(danr @ May 6 2007, 02:25 AM)QUOTE(Capn_... May 6 2007, 06:50 AM
danr QUOTE(Capn_Fish @ May 6 2007, 02:50 PM)QUOTE(... May 6 2007, 09:03 AM

Capn_Fish QUOTE(danr @ May 6 2007, 12:03 PM)QUOTE(Capn_... May 6 2007, 09:51 AM
desertrat QUOTE(Capn_Fish @ May 6 2007, 02:50 PM)QUOTE(... May 6 2007, 03:08 PM
Meanie QUOTE(Capn_Fish @ May 6 2007, 01:04 PM)How do... May 6 2007, 07:09 AM
Capn_Fish Nope. May 6 2007, 07:16 AM
Capn_Fish I'm going to need to install it anyway, so no ... May 7 2007, 03:42 AM
ShiroiKuma What I do, when faced with a prog that doesn't... May 7 2007, 04:55 AM
Meanie QUOTE(ShiroiKuma @ May 7 2007, 10:55 PM)What ... May 7 2007, 05:04 AM
ShiroiKuma Well, I use emacs for most stuff, so I'm alway... May 7 2007, 05:17 AM
Capn_Fish QUOTE(Meanie @ May 7 2007, 08:04 AM)oh and do... May 7 2007, 10:08 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 10:51 AM |