1 |
commit: 4d8a3a30768248aa083f1198dba491bafe9b1444 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 14 10:51:47 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 14 10:51:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=4d8a3a30 |
7 |
|
8 |
build: cleanup Makfile preparing for dist |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
Makefile.am | 335 ++++++++++-------------------------------------------- |
13 |
Makefile.in | 194 +++++++++++-------------------- |
14 |
include_applets.h | 17 --- |
15 |
3 files changed, 123 insertions(+), 423 deletions(-) |
16 |
|
17 |
diff --git a/Makefile.am b/Makefile.am |
18 |
index a9eba56..5a9d55d 100644 |
19 |
--- a/Makefile.am |
20 |
+++ b/Makefile.am |
21 |
@@ -1,12 +1,59 @@ |
22 |
ACLOCAL_AMFLAGS = -I autotools/m4 |
23 |
|
24 |
-SUBDIRS = autotools/gnulib libq |
25 |
+SUBDIRS = \ |
26 |
+ autotools/gnulib \ |
27 |
+ libq \ |
28 |
+ tests/atom_explode \ |
29 |
+ tests/copy_file \ |
30 |
+ tests/mkdir \ |
31 |
+ tests/rmspace \ |
32 |
+ $(NULL) |
33 |
|
34 |
portagedir = $(sysconfdir)/portage |
35 |
postsyncddir = $(portagedir)/repo.postsync.d |
36 |
|
37 |
dist_postsyncd_SCRIPTS = repo.postsync/q-reinit |
38 |
|
39 |
+APPLETS = \ |
40 |
+ q \ |
41 |
+ qatom \ |
42 |
+ qcache \ |
43 |
+ qcheck \ |
44 |
+ qdepends \ |
45 |
+ qfile \ |
46 |
+ qgrep \ |
47 |
+ qlist \ |
48 |
+ qlop \ |
49 |
+ qmerge \ |
50 |
+ qpkg \ |
51 |
+ qsearch \ |
52 |
+ qsize \ |
53 |
+ qtbz2 \ |
54 |
+ qtegrity \ |
55 |
+ quse \ |
56 |
+ qxpak \ |
57 |
+ $(NULL) |
58 |
+ |
59 |
+dist_man_MANS = \ |
60 |
+ man/q.1 \ |
61 |
+ man/qatom.1 \ |
62 |
+ man/qcache.1 \ |
63 |
+ man/qcheck.1 \ |
64 |
+ man/qdepends.1 \ |
65 |
+ man/qfile.1 \ |
66 |
+ man/qgrep.1 \ |
67 |
+ man/qlist.1 \ |
68 |
+ man/qlop.1 \ |
69 |
+ man/qmerge.1 \ |
70 |
+ man/qpkg.1 \ |
71 |
+ man/qsearch.1 \ |
72 |
+ man/qsize.1 \ |
73 |
+ man/qtbz2.1 \ |
74 |
+ man/qtegrity.1 \ |
75 |
+ man/quse.1 \ |
76 |
+ man/qxpak.1 \ |
77 |
+ $(NULL) |
78 |
+ |
79 |
bin_PROGRAMS = q |
80 |
q_SOURCES = \ |
81 |
main.c \ |
82 |
@@ -26,22 +73,25 @@ q_SOURCES = \ |
83 |
qtbz2.c \ |
84 |
qtegrity.c \ |
85 |
quse.c \ |
86 |
- qxpak.c |
87 |
+ qxpak.c \ |
88 |
+ $(NULL) |
89 |
q_CPPFLAGS = \ |
90 |
-I$(top_srcdir)/libq \ |
91 |
-I$(top_builddir)/autotools/gnulib \ |
92 |
- -I$(top_srcdir)/autotools/gnulib |
93 |
+ -I$(top_srcdir)/autotools/gnulib \ |
94 |
+ $(NULL) |
95 |
q_LDADD = \ |
96 |
$(top_builddir)/libq/libq.la \ |
97 |
$(top_builddir)/autotools/gnulib/libgnu.a \ |
98 |
-liniparser \ |
99 |
$(LIB_CLOCK_GETTIME) \ |
100 |
- $(LIB_EACCESS) |
101 |
+ $(LIB_EACCESS) \ |
102 |
+ $(NULL) |
103 |
|
104 |
install-exec-hook: |
105 |
cd $(DESTDIR)$(bindir); \ |
106 |
for applet in $(APPLETS) ; do \ |
107 |
- [ ! -e "$$applet" ] && ln -s q $${applet} ; \ |
108 |
+ [ ! -e "$${applet}" ] && $(LN_S) q $${applet} ; \ |
109 |
done |
110 |
|
111 |
TMAKE = \ |
112 |
@@ -55,275 +105,8 @@ clean-local: |
113 |
rm -f $(APPLETS) |
114 |
check: check-hook |
115 |
|
116 |
-# Start off with base values which we append below |
117 |
-dist_man_MANS = |
118 |
-APPLETS = |
119 |
-EXTRA_DIST = autotools/m4/gnulib-cache.m4 |
120 |
- |
121 |
-# @@@ GEN START @@@ # |
122 |
-q_CPPFLAGS += \ |
123 |
- -DAPPLET_q \ |
124 |
- -DAPPLET_qatom \ |
125 |
- -DAPPLET_qcache \ |
126 |
- -DAPPLET_qcheck \ |
127 |
- -DAPPLET_qdepends \ |
128 |
- -DAPPLET_qfile \ |
129 |
- -DAPPLET_qgrep \ |
130 |
- -DAPPLET_qlist \ |
131 |
- -DAPPLET_qlop \ |
132 |
- -DAPPLET_qmerge \ |
133 |
- -DAPPLET_qpkg \ |
134 |
- -DAPPLET_qsearch \ |
135 |
- -DAPPLET_qsize \ |
136 |
- -DAPPLET_qtbz2 \ |
137 |
- -DAPPLET_qtegrity \ |
138 |
- -DAPPLET_quse \ |
139 |
- -DAPPLET_qxpak |
140 |
-dist_man_MANS += \ |
141 |
- man/q.1 \ |
142 |
- man/qatom.1 \ |
143 |
- man/qcache.1 \ |
144 |
- man/qcheck.1 \ |
145 |
- man/qdepends.1 \ |
146 |
- man/qfile.1 \ |
147 |
- man/qgrep.1 \ |
148 |
- man/qlist.1 \ |
149 |
- man/qlop.1 \ |
150 |
- man/qmerge.1 \ |
151 |
- man/qpkg.1 \ |
152 |
- man/qsearch.1 \ |
153 |
- man/qsize.1 \ |
154 |
- man/qtbz2.1 \ |
155 |
- man/qtegrity.1 \ |
156 |
- man/quse.1 \ |
157 |
- man/qxpak.1 |
158 |
-APPLETS += \ |
159 |
- q \ |
160 |
- qatom \ |
161 |
- qcache \ |
162 |
- qcheck \ |
163 |
- qdepends \ |
164 |
- qfile \ |
165 |
- qgrep \ |
166 |
- qlist \ |
167 |
- qlop \ |
168 |
- qmerge \ |
169 |
- qpkg \ |
170 |
- qsearch \ |
171 |
- qsize \ |
172 |
- qtbz2 \ |
173 |
- qtegrity \ |
174 |
- quse \ |
175 |
- qxpak |
176 |
-EXTRA_DIST += \ |
177 |
+EXTRA_DIST = \ |
178 |
+ autotools/m4/gnulib-cache.m4 \ |
179 |
applets.h \ |
180 |
- config.h \ |
181 |
- include_applets.h \ |
182 |
- libq/atom_compare.c \ |
183 |
- libq/atom_explode.c \ |
184 |
- libq/basename.c \ |
185 |
- libq/busybox.h \ |
186 |
- libq/colors.c \ |
187 |
- libq/copy_file.c \ |
188 |
- libq/hash_fd.c \ |
189 |
- libq/human_readable.c \ |
190 |
- libq/i18n.h \ |
191 |
- libq/libq.c \ |
192 |
- libq/libq.h \ |
193 |
- libq/md5_sha1_sum.c \ |
194 |
- libq/prelink.c \ |
195 |
- libq/profile.c \ |
196 |
- libq/rmspace.c \ |
197 |
- libq/safe_io.c \ |
198 |
- libq/scandirat.c \ |
199 |
- libq/set.c \ |
200 |
- libq/vdb.c \ |
201 |
- libq/vdb_get_next_dir.c \ |
202 |
- libq/xarray.c \ |
203 |
- libq/xasprintf.c \ |
204 |
- libq/xchdir.c \ |
205 |
- libq/xmalloc.c \ |
206 |
- libq/xmkdir.c \ |
207 |
- libq/xregex.c \ |
208 |
- libq/xsystem.c \ |
209 |
- main.c \ |
210 |
- main.h \ |
211 |
- porting.h \ |
212 |
- q.c \ |
213 |
- qatom.c \ |
214 |
- qcache.c \ |
215 |
- qcheck.c \ |
216 |
- qdepends.c \ |
217 |
- qfile.c \ |
218 |
- qglsa.c \ |
219 |
- qgrep.c \ |
220 |
- qlist.c \ |
221 |
- qlop.c \ |
222 |
- qmerge.c \ |
223 |
- qpkg.c \ |
224 |
- qsearch.c \ |
225 |
- qsize.c \ |
226 |
- qtbz2.c \ |
227 |
- qtegrity.c \ |
228 |
- quse.c \ |
229 |
- qxpak.c \ |
230 |
- tests/Makefile \ |
231 |
- tests/atom_compare/.gitignore \ |
232 |
- tests/atom_compare/Makefile \ |
233 |
- tests/atom_compare/atom-compare.py \ |
234 |
- tests/atom_compare/static.good \ |
235 |
- tests/atom_compare/static.q.good \ |
236 |
- tests/atom_compare/static.q.tests \ |
237 |
- tests/atom_compare/static.tests \ |
238 |
- tests/atom_explode/.gitignore \ |
239 |
- tests/atom_explode/Makefile \ |
240 |
- tests/atom_explode/atom-explode.py \ |
241 |
- tests/atom_explode/basic.good \ |
242 |
- tests/atom_explode/basic.tests \ |
243 |
- tests/atom_explode/dotest \ |
244 |
- tests/atom_explode/ebuildlist.xz \ |
245 |
- tests/atom_explode/portageatoms.xz \ |
246 |
- tests/atom_explode/test.c \ |
247 |
- tests/copy_file/.gitignore \ |
248 |
- tests/copy_file/Makefile \ |
249 |
- tests/copy_file/dotest \ |
250 |
- tests/copy_file/test.c \ |
251 |
- tests/init.sh \ |
252 |
- tests/install/.gitignore \ |
253 |
- tests/install/Makefile \ |
254 |
- tests/install/dotest \ |
255 |
- tests/mkdir/.gitignore \ |
256 |
- tests/mkdir/Makefile \ |
257 |
- tests/mkdir/dotest \ |
258 |
- tests/mkdir/test.c \ |
259 |
- tests/profile/Makefile \ |
260 |
- tests/profile/dotest \ |
261 |
- tests/profile/profile1/etc/parent.conf \ |
262 |
- tests/profile/profile1/etc/portage/make.conf \ |
263 |
- tests/profile/profile1/etc/portage/subdir/file.conf \ |
264 |
- tests/profile/profile1/etc/portage/this.level.conf \ |
265 |
- tests/qatom/Makefile \ |
266 |
- tests/qatom/dotest \ |
267 |
- tests/qcheck/Makefile \ |
268 |
- tests/qcheck/dotest \ |
269 |
- tests/qcheck/list01.good \ |
270 |
- tests/qcheck/list02.good \ |
271 |
- tests/qcheck/list03.good \ |
272 |
- tests/qcheck/list04.good \ |
273 |
- tests/qcheck/list05.good \ |
274 |
- tests/qcheck/list06.good \ |
275 |
- tests/qcheck/list07.good \ |
276 |
- tests/qcheck/list08.good \ |
277 |
- tests/qcheck/list09.good \ |
278 |
- tests/qcheck/root/a-b/pkg-1.0/CONTENTS \ |
279 |
- tests/qcheck/root/a-b/pkg-1.0/SLOT \ |
280 |
- tests/qcheck/root/a-b/pkg-1.0/repository \ |
281 |
- tests/qcheck/root/bin/bad-md5 \ |
282 |
- tests/qcheck/root/bin/bad-mtime \ |
283 |
- tests/qcheck/root/bin/bad-mtime-obj \ |
284 |
- tests/qcheck/root/bin/bad-sha1 \ |
285 |
- tests/qcheck/root/bin/good-md5 \ |
286 |
- tests/qcheck/root/bin/good-sha1 \ |
287 |
- tests/qcheck/root/cat/pkg-1/CONTENTS \ |
288 |
- tests/qcheck/root/cat/pkg-1/SLOT \ |
289 |
- tests/qcheck/root/cat/pkg-1/repository \ |
290 |
- tests/qdepends/Makefile \ |
291 |
- tests/qdepends/dotest \ |
292 |
- tests/qdepends/list01.good \ |
293 |
- tests/qdepends/list02.good \ |
294 |
- tests/qdepends/list03.good \ |
295 |
- tests/qdepends/list04.good \ |
296 |
- tests/qdepends/list05.good \ |
297 |
- tests/qdepends/list06.good \ |
298 |
- tests/qdepends/list07.good \ |
299 |
- tests/qdepends/list08.good \ |
300 |
- tests/qdepends/root/app-arch/cpio-2.11/CONTENTS \ |
301 |
- tests/qdepends/root/app-arch/cpio-2.11/SLOT \ |
302 |
- tests/qdepends/root/app-arch/cpio-2.11/repository \ |
303 |
- tests/qdepends/root/x11-apps/xdm-1.1.11-r3/DEPEND \ |
304 |
- tests/qdepends/root/x11-apps/xdm-1.1.11-r3/RDEPEND \ |
305 |
- tests/qdepends/root/x11-apps/xdm-1.1.11-r3/USE \ |
306 |
- tests/qfile/Makefile \ |
307 |
- tests/qfile/dotest \ |
308 |
- tests/qlist/Makefile \ |
309 |
- tests/qlist/dotest \ |
310 |
- tests/qlist/list01.good \ |
311 |
- tests/qlist/list02.good \ |
312 |
- tests/qlist/list03.good \ |
313 |
- tests/qlist/list04.good \ |
314 |
- tests/qlist/list05.good \ |
315 |
- tests/qlist/list06.good \ |
316 |
- tests/qlist/list07.good \ |
317 |
- tests/qlist/list08.good \ |
318 |
- tests/qlist/list09.good \ |
319 |
- tests/qlist/list10.good \ |
320 |
- tests/qlist/list11.good \ |
321 |
- tests/qlist/list12.good \ |
322 |
- tests/qlist/list13.good \ |
323 |
- tests/qlist/list14.good \ |
324 |
- tests/qlist/list15.good \ |
325 |
- tests/qlist/list16.good \ |
326 |
- tests/qlist/root/-merge-foo/CONTENTS \ |
327 |
- tests/qlist/root/a-b/a-0/CONTENTS \ |
328 |
- tests/qlist/root/a-b/a-0/SLOT \ |
329 |
- tests/qlist/root/a-b/a-0/repository \ |
330 |
- tests/qlist/root/a-b/b-0/CONTENTS \ |
331 |
- tests/qlist/root/a-b/b-0/SLOT \ |
332 |
- tests/qlist/root/a-b/b-0/repository \ |
333 |
- tests/qlist/root/app-arch/cpio-2.11/CONTENTS \ |
334 |
- tests/qlist/root/app-arch/cpio-2.11/SLOT \ |
335 |
- tests/qlist/root/app-arch/cpio-2.11/repository \ |
336 |
- tests/qlist/root/cat/pkg-1/CONTENTS \ |
337 |
- tests/qlist/root/cat/pkg-1/SLOT \ |
338 |
- tests/qlist/root/cat/pkg-1/repository \ |
339 |
- tests/qlist/root/cat/sub-2/CONTENTS \ |
340 |
- tests/qlist/root/cat/sub-2/SLOT \ |
341 |
- tests/qlist/root/cat/sub-2/repository \ |
342 |
- tests/qlist/root/sys-fs/mtools-4.0.13/CONTENTS \ |
343 |
- tests/qlist/root/sys-fs/mtools-4.0.13/SLOT \ |
344 |
- tests/qlist/root/sys-fs/mtools-4.0.13/repository \ |
345 |
- tests/qlop/Makefile \ |
346 |
- tests/qlop/aborts.log \ |
347 |
- tests/qlop/dotest \ |
348 |
- tests/qlop/list01.good \ |
349 |
- tests/qlop/list02.good \ |
350 |
- tests/qlop/list03.good \ |
351 |
- tests/qlop/list04.good \ |
352 |
- tests/qlop/list05.good \ |
353 |
- tests/qlop/list06.good \ |
354 |
- tests/qlop/list07.good \ |
355 |
- tests/qlop/list08.good \ |
356 |
- tests/qlop/list09.good \ |
357 |
- tests/qlop/sync.log \ |
358 |
- tests/qlop/test04.good \ |
359 |
- tests/qmerge/Makefile \ |
360 |
- tests/qmerge/dotest \ |
361 |
- tests/qmerge/packages/Packages \ |
362 |
- tests/qmerge/packages/sys-devel/qmerge-test-1.3.tbz2 \ |
363 |
- tests/qtbz2/Makefile \ |
364 |
- tests/qtbz2/dotest \ |
365 |
- tests/quse/Makefile \ |
366 |
- tests/quse/dotest \ |
367 |
- tests/quse/list01.good \ |
368 |
- tests/quse/portdir/profiles/arch.list \ |
369 |
- tests/quse/portdir/profiles/desc/elibc.desc \ |
370 |
- tests/quse/portdir/profiles/desc/one.desc \ |
371 |
- tests/quse/portdir/profiles/desc/two.desc \ |
372 |
- tests/quse/portdir/profiles/use.desc \ |
373 |
- tests/quse/portdir/profiles/use.local.desc \ |
374 |
- tests/qxpak/Makefile \ |
375 |
- tests/qxpak/dotest \ |
376 |
- tests/qxpak/list01.good \ |
377 |
- tests/qxpak/list02.good \ |
378 |
- tests/reinitialize/Makefile \ |
379 |
- tests/reinitialize/dotest \ |
380 |
- tests/rmspace/.gitignore \ |
381 |
- tests/rmspace/Makefile \ |
382 |
- tests/rmspace/dotest \ |
383 |
- tests/rmspace/test.c \ |
384 |
- tests/source/Makefile \ |
385 |
- tests/source/dotest \ |
386 |
- tests/source/space \ |
387 |
- tests/subdir.mk \ |
388 |
- tests/tests.h |
389 |
-# @@@ GEN START @@@ # |
390 |
+ tests \ |
391 |
+ $(NULL) |
392 |
|
393 |
diff --git a/Makefile.in b/Makefile.in |
394 |
index a014d25..1b37f24 100644 |
395 |
--- a/Makefile.in |
396 |
+++ b/Makefile.in |
397 |
@@ -1543,10 +1543,58 @@ top_build_prefix = @top_build_prefix@ |
398 |
top_builddir = @top_builddir@ |
399 |
top_srcdir = @top_srcdir@ |
400 |
ACLOCAL_AMFLAGS = -I autotools/m4 |
401 |
-SUBDIRS = autotools/gnulib libq |
402 |
+SUBDIRS = \ |
403 |
+ autotools/gnulib \ |
404 |
+ libq \ |
405 |
+ tests/atom_explode \ |
406 |
+ tests/copy_file \ |
407 |
+ tests/mkdir \ |
408 |
+ tests/rmspace \ |
409 |
+ $(NULL) |
410 |
+ |
411 |
portagedir = $(sysconfdir)/portage |
412 |
postsyncddir = $(portagedir)/repo.postsync.d |
413 |
dist_postsyncd_SCRIPTS = repo.postsync/q-reinit |
414 |
+APPLETS = \ |
415 |
+ q \ |
416 |
+ qatom \ |
417 |
+ qcache \ |
418 |
+ qcheck \ |
419 |
+ qdepends \ |
420 |
+ qfile \ |
421 |
+ qgrep \ |
422 |
+ qlist \ |
423 |
+ qlop \ |
424 |
+ qmerge \ |
425 |
+ qpkg \ |
426 |
+ qsearch \ |
427 |
+ qsize \ |
428 |
+ qtbz2 \ |
429 |
+ qtegrity \ |
430 |
+ quse \ |
431 |
+ qxpak \ |
432 |
+ $(NULL) |
433 |
+ |
434 |
+dist_man_MANS = \ |
435 |
+ man/q.1 \ |
436 |
+ man/qatom.1 \ |
437 |
+ man/qcache.1 \ |
438 |
+ man/qcheck.1 \ |
439 |
+ man/qdepends.1 \ |
440 |
+ man/qfile.1 \ |
441 |
+ man/qgrep.1 \ |
442 |
+ man/qlist.1 \ |
443 |
+ man/qlop.1 \ |
444 |
+ man/qmerge.1 \ |
445 |
+ man/qpkg.1 \ |
446 |
+ man/qsearch.1 \ |
447 |
+ man/qsize.1 \ |
448 |
+ man/qtbz2.1 \ |
449 |
+ man/qtegrity.1 \ |
450 |
+ man/quse.1 \ |
451 |
+ man/qxpak.1 \ |
452 |
+ $(NULL) |
453 |
+ |
454 |
q_SOURCES = \ |
455 |
main.c \ |
456 |
q.c \ |
457 |
@@ -1565,147 +1613,34 @@ q_SOURCES = \ |
458 |
qtbz2.c \ |
459 |
qtegrity.c \ |
460 |
quse.c \ |
461 |
- qxpak.c |
462 |
+ qxpak.c \ |
463 |
+ $(NULL) |
464 |
|
465 |
+q_CPPFLAGS = \ |
466 |
+ -I$(top_srcdir)/libq \ |
467 |
+ -I$(top_builddir)/autotools/gnulib \ |
468 |
+ -I$(top_srcdir)/autotools/gnulib \ |
469 |
+ $(NULL) |
470 |
|
471 |
-# @@@ GEN START @@@ # |
472 |
-q_CPPFLAGS = -I$(top_srcdir)/libq -I$(top_builddir)/autotools/gnulib \ |
473 |
- -I$(top_srcdir)/autotools/gnulib -DAPPLET_q -DAPPLET_qatom \ |
474 |
- -DAPPLET_qcache -DAPPLET_qcheck -DAPPLET_qdepends \ |
475 |
- -DAPPLET_qfile -DAPPLET_qgrep -DAPPLET_qlist -DAPPLET_qlop \ |
476 |
- -DAPPLET_qmerge -DAPPLET_qpkg -DAPPLET_qsearch -DAPPLET_qsize \ |
477 |
- -DAPPLET_qtbz2 -DAPPLET_qtegrity -DAPPLET_quse -DAPPLET_qxpak |
478 |
q_LDADD = \ |
479 |
$(top_builddir)/libq/libq.la \ |
480 |
$(top_builddir)/autotools/gnulib/libgnu.a \ |
481 |
-liniparser \ |
482 |
$(LIB_CLOCK_GETTIME) \ |
483 |
- $(LIB_EACCESS) |
484 |
+ $(LIB_EACCESS) \ |
485 |
+ $(NULL) |
486 |
|
487 |
TMAKE = \ |
488 |
$(MAKE) -C $(abs_top_srcdir)/tests \ |
489 |
abs_top_builddir="$(abs_top_builddir)" \ |
490 |
abs_top_srcdir="$(abs_top_srcdir)" |
491 |
|
492 |
+EXTRA_DIST = \ |
493 |
+ autotools/m4/gnulib-cache.m4 \ |
494 |
+ applets.h \ |
495 |
+ tests \ |
496 |
+ $(NULL) |
497 |
|
498 |
-# Start off with base values which we append below |
499 |
-dist_man_MANS = man/q.1 man/qatom.1 man/qcache.1 man/qcheck.1 \ |
500 |
- man/qdepends.1 man/qfile.1 man/qgrep.1 man/qlist.1 man/qlop.1 \ |
501 |
- man/qmerge.1 man/qpkg.1 man/qsearch.1 man/qsize.1 man/qtbz2.1 \ |
502 |
- man/qtegrity.1 man/quse.1 man/qxpak.1 |
503 |
-APPLETS = q qatom qcache qcheck qdepends qfile qgrep qlist qlop qmerge \ |
504 |
- qpkg qsearch qsize qtbz2 qtegrity quse qxpak |
505 |
-EXTRA_DIST = autotools/m4/gnulib-cache.m4 applets.h config.h \ |
506 |
- include_applets.h libq/atom_compare.c libq/atom_explode.c \ |
507 |
- libq/basename.c libq/busybox.h libq/colors.c libq/copy_file.c \ |
508 |
- libq/hash_fd.c libq/human_readable.c libq/i18n.h libq/libq.c \ |
509 |
- libq/libq.h libq/md5_sha1_sum.c libq/prelink.c libq/profile.c \ |
510 |
- libq/rmspace.c libq/safe_io.c libq/scandirat.c libq/set.c \ |
511 |
- libq/vdb.c libq/vdb_get_next_dir.c libq/xarray.c \ |
512 |
- libq/xasprintf.c libq/xchdir.c libq/xmalloc.c libq/xmkdir.c \ |
513 |
- libq/xregex.c libq/xsystem.c main.c main.h porting.h q.c \ |
514 |
- qatom.c qcache.c qcheck.c qdepends.c qfile.c qglsa.c qgrep.c \ |
515 |
- qlist.c qlop.c qmerge.c qpkg.c qsearch.c qsize.c qtbz2.c \ |
516 |
- qtegrity.c quse.c qxpak.c tests/Makefile \ |
517 |
- tests/atom_compare/.gitignore tests/atom_compare/Makefile \ |
518 |
- tests/atom_compare/atom-compare.py \ |
519 |
- tests/atom_compare/static.good \ |
520 |
- tests/atom_compare/static.q.good \ |
521 |
- tests/atom_compare/static.q.tests \ |
522 |
- tests/atom_compare/static.tests tests/atom_explode/.gitignore \ |
523 |
- tests/atom_explode/Makefile tests/atom_explode/atom-explode.py \ |
524 |
- tests/atom_explode/basic.good tests/atom_explode/basic.tests \ |
525 |
- tests/atom_explode/dotest tests/atom_explode/ebuildlist.xz \ |
526 |
- tests/atom_explode/portageatoms.xz tests/atom_explode/test.c \ |
527 |
- tests/copy_file/.gitignore tests/copy_file/Makefile \ |
528 |
- tests/copy_file/dotest tests/copy_file/test.c tests/init.sh \ |
529 |
- tests/install/.gitignore tests/install/Makefile \ |
530 |
- tests/install/dotest tests/mkdir/.gitignore \ |
531 |
- tests/mkdir/Makefile tests/mkdir/dotest tests/mkdir/test.c \ |
532 |
- tests/profile/Makefile tests/profile/dotest \ |
533 |
- tests/profile/profile1/etc/parent.conf \ |
534 |
- tests/profile/profile1/etc/portage/make.conf \ |
535 |
- tests/profile/profile1/etc/portage/subdir/file.conf \ |
536 |
- tests/profile/profile1/etc/portage/this.level.conf \ |
537 |
- tests/qatom/Makefile tests/qatom/dotest tests/qcheck/Makefile \ |
538 |
- tests/qcheck/dotest tests/qcheck/list01.good \ |
539 |
- tests/qcheck/list02.good tests/qcheck/list03.good \ |
540 |
- tests/qcheck/list04.good tests/qcheck/list05.good \ |
541 |
- tests/qcheck/list06.good tests/qcheck/list07.good \ |
542 |
- tests/qcheck/list08.good tests/qcheck/list09.good \ |
543 |
- tests/qcheck/root/a-b/pkg-1.0/CONTENTS \ |
544 |
- tests/qcheck/root/a-b/pkg-1.0/SLOT \ |
545 |
- tests/qcheck/root/a-b/pkg-1.0/repository \ |
546 |
- tests/qcheck/root/bin/bad-md5 tests/qcheck/root/bin/bad-mtime \ |
547 |
- tests/qcheck/root/bin/bad-mtime-obj \ |
548 |
- tests/qcheck/root/bin/bad-sha1 tests/qcheck/root/bin/good-md5 \ |
549 |
- tests/qcheck/root/bin/good-sha1 \ |
550 |
- tests/qcheck/root/cat/pkg-1/CONTENTS \ |
551 |
- tests/qcheck/root/cat/pkg-1/SLOT \ |
552 |
- tests/qcheck/root/cat/pkg-1/repository tests/qdepends/Makefile \ |
553 |
- tests/qdepends/dotest tests/qdepends/list01.good \ |
554 |
- tests/qdepends/list02.good tests/qdepends/list03.good \ |
555 |
- tests/qdepends/list04.good tests/qdepends/list05.good \ |
556 |
- tests/qdepends/list06.good tests/qdepends/list07.good \ |
557 |
- tests/qdepends/list08.good \ |
558 |
- tests/qdepends/root/app-arch/cpio-2.11/CONTENTS \ |
559 |
- tests/qdepends/root/app-arch/cpio-2.11/SLOT \ |
560 |
- tests/qdepends/root/app-arch/cpio-2.11/repository \ |
561 |
- tests/qdepends/root/x11-apps/xdm-1.1.11-r3/DEPEND \ |
562 |
- tests/qdepends/root/x11-apps/xdm-1.1.11-r3/RDEPEND \ |
563 |
- tests/qdepends/root/x11-apps/xdm-1.1.11-r3/USE \ |
564 |
- tests/qfile/Makefile tests/qfile/dotest tests/qlist/Makefile \ |
565 |
- tests/qlist/dotest tests/qlist/list01.good \ |
566 |
- tests/qlist/list02.good tests/qlist/list03.good \ |
567 |
- tests/qlist/list04.good tests/qlist/list05.good \ |
568 |
- tests/qlist/list06.good tests/qlist/list07.good \ |
569 |
- tests/qlist/list08.good tests/qlist/list09.good \ |
570 |
- tests/qlist/list10.good tests/qlist/list11.good \ |
571 |
- tests/qlist/list12.good tests/qlist/list13.good \ |
572 |
- tests/qlist/list14.good tests/qlist/list15.good \ |
573 |
- tests/qlist/list16.good tests/qlist/root/-merge-foo/CONTENTS \ |
574 |
- tests/qlist/root/a-b/a-0/CONTENTS \ |
575 |
- tests/qlist/root/a-b/a-0/SLOT \ |
576 |
- tests/qlist/root/a-b/a-0/repository \ |
577 |
- tests/qlist/root/a-b/b-0/CONTENTS \ |
578 |
- tests/qlist/root/a-b/b-0/SLOT \ |
579 |
- tests/qlist/root/a-b/b-0/repository \ |
580 |
- tests/qlist/root/app-arch/cpio-2.11/CONTENTS \ |
581 |
- tests/qlist/root/app-arch/cpio-2.11/SLOT \ |
582 |
- tests/qlist/root/app-arch/cpio-2.11/repository \ |
583 |
- tests/qlist/root/cat/pkg-1/CONTENTS \ |
584 |
- tests/qlist/root/cat/pkg-1/SLOT \ |
585 |
- tests/qlist/root/cat/pkg-1/repository \ |
586 |
- tests/qlist/root/cat/sub-2/CONTENTS \ |
587 |
- tests/qlist/root/cat/sub-2/SLOT \ |
588 |
- tests/qlist/root/cat/sub-2/repository \ |
589 |
- tests/qlist/root/sys-fs/mtools-4.0.13/CONTENTS \ |
590 |
- tests/qlist/root/sys-fs/mtools-4.0.13/SLOT \ |
591 |
- tests/qlist/root/sys-fs/mtools-4.0.13/repository \ |
592 |
- tests/qlop/Makefile tests/qlop/aborts.log tests/qlop/dotest \ |
593 |
- tests/qlop/list01.good tests/qlop/list02.good \ |
594 |
- tests/qlop/list03.good tests/qlop/list04.good \ |
595 |
- tests/qlop/list05.good tests/qlop/list06.good \ |
596 |
- tests/qlop/list07.good tests/qlop/list08.good \ |
597 |
- tests/qlop/list09.good tests/qlop/sync.log \ |
598 |
- tests/qlop/test04.good tests/qmerge/Makefile \ |
599 |
- tests/qmerge/dotest tests/qmerge/packages/Packages \ |
600 |
- tests/qmerge/packages/sys-devel/qmerge-test-1.3.tbz2 \ |
601 |
- tests/qtbz2/Makefile tests/qtbz2/dotest tests/quse/Makefile \ |
602 |
- tests/quse/dotest tests/quse/list01.good \ |
603 |
- tests/quse/portdir/profiles/arch.list \ |
604 |
- tests/quse/portdir/profiles/desc/elibc.desc \ |
605 |
- tests/quse/portdir/profiles/desc/one.desc \ |
606 |
- tests/quse/portdir/profiles/desc/two.desc \ |
607 |
- tests/quse/portdir/profiles/use.desc \ |
608 |
- tests/quse/portdir/profiles/use.local.desc \ |
609 |
- tests/qxpak/Makefile tests/qxpak/dotest \ |
610 |
- tests/qxpak/list01.good tests/qxpak/list02.good \ |
611 |
- tests/reinitialize/Makefile tests/reinitialize/dotest \ |
612 |
- tests/rmspace/.gitignore tests/rmspace/Makefile \ |
613 |
- tests/rmspace/dotest tests/rmspace/test.c \ |
614 |
- tests/source/Makefile tests/source/dotest tests/source/space \ |
615 |
- tests/subdir.mk tests/tests.h |
616 |
all: config.h |
617 |
$(MAKE) $(AM_MAKEFLAGS) all-recursive |
618 |
|
619 |
@@ -2636,7 +2571,7 @@ uninstall-man: uninstall-man1 |
620 |
install-exec-hook: |
621 |
cd $(DESTDIR)$(bindir); \ |
622 |
for applet in $(APPLETS) ; do \ |
623 |
- [ ! -e "$$applet" ] && ln -s q $${applet} ; \ |
624 |
+ [ ! -e "$${applet}" ] && $(LN_S) q $${applet} ; \ |
625 |
done |
626 |
check-hook: |
627 |
$(TMAKE) check |
628 |
@@ -2644,7 +2579,6 @@ clean-local: |
629 |
$(TMAKE) clean |
630 |
rm -f $(APPLETS) |
631 |
check: check-hook |
632 |
-# @@@ GEN START @@@ # |
633 |
|
634 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
635 |
# Otherwise a system limit (for SysV at least) may be exceeded. |
636 |
|
637 |
diff --git a/include_applets.h b/include_applets.h |
638 |
deleted file mode 100644 |
639 |
index 916e5f7..0000000 |
640 |
--- a/include_applets.h |
641 |
+++ /dev/null |
642 |
@@ -1,17 +0,0 @@ |
643 |
-#include "q.c" |
644 |
-#include "qcheck.c" |
645 |
-#include "qdepends.c" |
646 |
-#include "qfile.c" |
647 |
-#include "qlist.c" |
648 |
-#include "qlop.c" |
649 |
-#include "qsearch.c" |
650 |
-#include "qsize.c" |
651 |
-#include "qtbz2.c" |
652 |
-#include "quse.c" |
653 |
-#include "qxpak.c" |
654 |
-#include "qpkg.c" |
655 |
-#include "qgrep.c" |
656 |
-#include "qatom.c" |
657 |
-#include "qmerge.c" |
658 |
-#include "qcache.c" |
659 |
-#include "qtegrity.c" |