Lines 336-344
Link Here
|
336 |
|
336 |
|
337 |
|
337 |
|
338 |
install: $(FILES) |
338 |
install: $(FILES) |
|
|
339 |
@mkdir $(DESTDIR)$(sysconfdir); |
339 |
@echo Installing magic local data for file\(1\) command... |
340 |
@echo Installing magic local data for file\(1\) command... |
340 |
@if ! grep "\*\*TI85\*\*" /etc/magic; then \ |
341 |
@if ! grep "\*\*TI85\*\*" $(sysconfdir)/magic; \ |
341 |
cat others/magic >> /etc/magic; \ |
342 |
then \ |
|
|
343 |
mkdir etc; \ |
344 |
rm etc/magic; \ |
345 |
cp $(sysconfdir)/magic etc/; \ |
346 |
cat others/magic >> etc/magic; \ |
347 |
$(INSTALL_DATA) etc/magic $(DESTDIR)$(sysconfdir)/magic; \ |
342 |
fi; |
348 |
fi; |
343 |
@echo Done. |
349 |
@echo Done. |
344 |
|
350 |
|
Lines 350-378
Link Here
|
350 |
fi; |
356 |
fi; |
351 |
|
357 |
|
352 |
@echo Installing application registry in Gnome... |
358 |
@echo Installing application registry in Gnome... |
353 |
@$(INSTALL) -m644 gnome/tilp.applications /usr/share/application-registry |
359 |
@mkdir -p $(DESTDIR)/usr/share/application-registry/ |
|
|
360 |
@$(INSTALL) -m644 gnome/tilp.applications $(DESTDIR)/usr/share/application-registry |
354 |
|
361 |
|
355 |
@echo Installing file and icons handling in Gnome... |
362 |
@echo Installing file and icons handling in Gnome... |
356 |
@$(INSTALL) -m644 gnome/tilp.keys /usr/share/mime-info |
363 |
@mkdir -p $(DESTDIR)/usr/share/mime-info; |
357 |
@$(INSTALL) -m644 gnome/tilp.mime /usr/share/mime-info |
364 |
@$(INSTALL) -m644 gnome/tilp.keys $(DESTDIR)/usr/share/mime-info |
|
|
365 |
@$(INSTALL) -m644 gnome/tilp.mime $(DESTDIR)/usr/share/mime-info |
358 |
|
366 |
|
359 |
@echo Installing TiLP menu entry in Gnome... |
367 |
@echo Installing TiLP menu entry in Gnome... |
360 |
@$(INSTALL) -m644 gnome/TiLP.desktop /usr/share/applications |
368 |
@mkdir -p $(DESTDIR)/usr/share/applications |
|
|
369 |
@$(INSTALL) -m644 gnome/TiLP.desktop $(DESTDIR)/usr/share/applications |
361 |
@echo Done. |
370 |
@echo Done. |
362 |
|
371 |
|
363 |
@echo "---"; |
372 |
@echo "---"; |
364 |
|
373 |
|
365 |
# @echo Installing KMimeMagic local data... |
374 |
# @echo Installing KMimeMagic local data... |
366 |
# @if ! grep "\*\*TI85" /usr/share/mimelnk/magic; then \ |
375 |
# @if ! grep "\*\*TI85" /usr/share/mimelnk/magic; then \ |
367 |
# cat kde/magic >> /usr/share/mimelnk/magic; \ |
376 |
# cat kde/magic >> $(DESTDIR)/usr/share/mimelnk/magic; \ |
368 |
# fi; |
377 |
# fi; |
369 |
|
378 |
|
370 |
# @echo Installing TiLP menu entry in KDE... |
379 |
# @echo Installing TiLP menu entry in KDE... |
371 |
# @$(INSTALL) -d /usr/share/applnk/Edutainment/Mathematics |
380 |
# @$(INSTALL) -d $(DESTDIR)/usr/share/applnk/Edutainment/Mathematics |
372 |
# @$(INSTALL) -m644 kde/tilp.desktop /usr/share/applnk/Edutainment/Mathematics/ |
381 |
# @$(INSTALL) -m644 kde/tilp.desktop $(DESTDIR)/usr/share/applnk/Edutainment/Mathematics/ |
373 |
|
382 |
|
374 |
# @echo Installing file and icons handling in KDE... |
383 |
# @echo Installing file and icons handling in KDE... |
375 |
# @$(INSTALL) -m644 kde/x-tilp.desktop /usr/share/mimelnk/application |
384 |
# @mkdir -p $(DESTDIR)/usr/share/mimelnk/application |
|
|
385 |
# @$(INSTALL) -m644 kde/x-tilp.desktop $(DESTDIR)/usr/share/mimelnk/application |
376 |
# @echo Done. |
386 |
# @echo Done. |
377 |
|
387 |
|
378 |
uninstall: $(FILES) |
388 |
uninstall: $(FILES) |