]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/pwlib
Netzwerkscripts erweitert.
[people/pmueller/ipfire-2.x.git] / lfs / pwlib
index cc1df00117b2bdc41350a5514fee68d0fd50b8ce..6390266d5c234bf1259cef4c31cff98960190f07 100644 (file)
--- a/lfs/pwlib
+++ b/lfs/pwlib
@@ -53,6 +53,9 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 md5 : $(subst %,%_MD5,$(objects))
 
+dist: 
+       make-packages.sh pwlib $(THISAPP)-ipfire-beta-1
+
 ###############################################################################
 # Downloading, checking, md5sum
 ###############################################################################
@@ -72,11 +75,9 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xfz $(DIR_DL)/$(DL_FILE)
-       ln -sf -v $(DIR_SRC)/pwlib* $(DIR_APP)
-#      mv -f $(DIR_SRC)/pwlib* $(DIR_SRC)/pwlib
-#      mv -f /usr/include/ldap.h /
+       rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xfz $(DIR_DL)/$(DL_FILE)
+       if [ -f /usr/include/ldap.h ]; then mv -f /usr/include/ldap.h / ; fi
        cd $(DIR_APP) && ./configure --prefix=/usr
-#      mv -f /ldap.h /usr/include      
+       if [ -f /ldap.h ]; then mv -f /ldap.h /usr/include/ ; fi
        cd $(DIR_APP) && make opt && make install
        @$(POSTBUILD)