Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sjhill at uclibc.org <sjhill@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/netkitbase
Date: Sun,  6 May 2007 21:01:07 -0700 (PDT)	[thread overview]
Message-ID: <20070507040107.BA26D48562@busybox.net> (raw)

Author: sjhill
Date: 2007-05-06 21:01:07 -0700 (Sun, 06 May 2007)
New Revision: 18575

Log:
Install the default configuration file if the platform did not already define one.


Modified:
   trunk/buildroot/package/netkitbase/netkitbase.mk


Changeset:
Modified: trunk/buildroot/package/netkitbase/netkitbase.mk
===================================================================
--- trunk/buildroot/package/netkitbase/netkitbase.mk	2007-05-07 04:00:11 UTC (rev 18574)
+++ trunk/buildroot/package/netkitbase/netkitbase.mk	2007-05-07 04:01:07 UTC (rev 18575)
@@ -38,13 +38,11 @@
 	# Only install a few selected items...
 	mkdir -p $(TARGET_DIR)/usr/sbin
 	cp $(NETKITBASE_DIR)/$(NETKITBASE_BINARY) $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)
-	#rm -f $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)
-	mkdir -p $(TARGET_DIR)/etc
-	cp $(NETKITBASE_DIR)/etc.sample/inetd.conf $(TARGET_DIR)/etc/
-	$(SED) "s/^\([a-z]\)/#\1/;" $(TARGET_DIR)/etc/inetd.conf
-	#$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(NETKITBASE_DIR) install
-	#rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
-	#	$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
+	@if [ ! -f $(TARGET_DIR)/etc/inetd.conf ] ; then \
+		mkdir -p $(TARGET_DIR)/etc; \
+		cp $(NETKITBASE_DIR)/etc.sample/inetd.conf $(TARGET_DIR)/etc/; \
+		$(SED) "s/^\([a-z]\)/#\1/;" $(TARGET_DIR)/etc/inetd.conf; \
+	fi;
 	touch -c $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)
 
 netkitbase: uclibc $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)

             reply	other threads:[~2007-05-07  4:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07  4:01 sjhill at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-13 10:01 [Buildroot] svn commit: trunk/buildroot/package/netkitbase vanokuten at uclibc.org
2006-12-02  6:48 sjhill at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070507040107.BA26D48562@busybox.net \
    --to=sjhill@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox