Archiv > General

Git <> Make Clean (clean_all)

(1/1)

P3f:
Hallo,

ich habe eine Frage zur eigenen Develumgebung...

Wenn man ein "make clean" in einem Addonverzeichnis macht, so wird ja das Paket sehr gut gelöscht. Allerdings bleibt immer im src-Verzeichnis (des Addons) die ursprüngliche Verlinkung. Somit wird nicht das aktuellste (git-)Repository geladen, wenn man wieder baut.

Beispiel:

--- Quote ---root@Pit-Linux:~/build/MLD/xineliboutput# cd src/
root@Pit-Linux:~/build/MLD/xineliboutput/src# ls -l
insgesamt 16
-rw-r--r-- 1 root root  841 2012-01-08 14:14 10_xineliboutput_mld.patch
-rw-r--r-- 1 root root  444 2012-03-04 18:21 11_xineliboutput_xinelib.patch
drwxr-xr-x 3 root root 4096 2012-03-11 14:01 locale
lrwxrwxrwx 1 root root   24 2012-03-09 19:23 xineliboutput -> xineliboutput-2012.03.09
drwxrwxr-x 8 root root 4096 2012-03-11 14:01 xineliboutput-2012.03.09
lrwxrwxrwx 1 root root   39 2012-03-09 19:16 xineliboutput.tgz -> /root/.mld/xineliboutput-2012.03.09.tgz
root@Pit-Linux:~/build/MLD/xineliboutput/src# cd ..
root@Pit-Linux:~/build/MLD/xineliboutput# make clean
sed: kann ../../../config.h nicht lesen: Datei oder Verzeichnis nicht gefunden
Makefile:97: ********************************************************
Makefile:98: VDR not detected ! VDR plugins will not be compiled.   
Makefile:99: ********************************************************
sed: kann ../../../config.h nicht lesen: Datei oder Verzeichnis nicht gefunden
Makefile:97: ********************************************************
Makefile:98: VDR not detected ! VDR plugins will not be compiled.   
Makefile:99: ********************************************************
root@Pit-Linux:~/build/MLD/xineliboutput# ls -l src
insgesamt 16
-rw-r--r-- 1 root root  841 2012-01-08 14:14 10_xineliboutput_mld.patch
-rw-r--r-- 1 root root  444 2012-03-04 18:21 11_xineliboutput_xinelib.patch
drwxr-xr-x 3 root root 4096 2012-03-11 14:02 locale
lrwxrwxrwx 1 root root   24 2012-03-09 19:23 xineliboutput -> xineliboutput-2012.03.09
drwxrwxr-x 8 root root 4096 2012-03-11 14:02 xineliboutput-2012.03.09
lrwxrwxrwx 1 root root   39 2012-03-09 19:16 xineliboutput.tgz -> /root/.mld/xineliboutput-2012.03.09.tgz

--- End quote ---

Erst wenn ich im src-Verzeichnis manuell die Links (alle 3 xineliboutput's) dann wird auch neu vom git-Repository geladen.

Ein Löschen der /root/.mld/xineliboutput* bringt nichts, da hier wieder die Dateien vom 9.3.2012 (um beim Beispiel zu bleiben) geladen werden.

Ich denke, das das Verhalten beim "make clean_all" genauso ist... :rolleyes:

Kann man das besser machen, oder ist es ein Denkfehler von mir?

Gruß,

Pit

MarMic:
was macht ein make clean_src?

clausmuus:
Das löscht das source Archiv im .mld Ordner.

Ich werde das aber als eine meiner nächsten Aktionen überarbeiten, damit nen "make clean" den src Ordner aufräumt.

Claus

Navigation

[0] Message Index

Go to full version