Skip to contentSkip to conversation

attr: fix include/ symlink creation (again)

PATCH In review Eric Sandeen 2 participants 2 messages Jan 8, 2009 – Jan 9, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 attr: fix include/ symlink creation (again)

We need the "default" target first, otherwise a simple "make -C include" only ran the $(INCDIR) target, missing disk, and failures ensued.

---

include/Makefile +2 -2
index 3fde1fc..a645251 100644
@@ -11,11 +11,11 @@ HFILES = $(INST_HFILES) misc.h walk_tree.h
 LSRCFILES = builddefs.in buildmacros buildrules config.h.in
 LDIRT = $(INCDIR)
 
+default: $(INCDIR)
+
 $(INCDIR):
 	$(LN_S) . $@
 
-default: $(INCDIR)
-
 include $(BUILDRULES)
 
 install-dev: default

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 2 lines · Eric Sandeen

We need the "default" target first, otherwise a simple "make -C include" only ran the $(INCDIR) target, missing disk, and failures ensued.

Looks good, too. I wonder why attr uses INCDIR instead of just spelling out the name like all other packages..

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs